Skip to content

Commit

Permalink
v0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dagnelies committed Sep 26, 2022
1 parent 4e89f3f commit 2854bfe
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 11 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/node_modules
/.vscode
/dist
22 changes: 16 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,26 @@ A greatly simplified and opiniated wrapper to invoke the [webauthn protocol](htt

Check out the demo at https://passwordless.id/playground.html

Installation/usage
------------------
Installation / Usage
--------------------

NPM:

npm install @passwordless-id/webauthn
```bash
npm install @passwordless-id/webauthn
```

```js
import * as passwordless from '@passwordless-id/webauthn'
```

Browser:

<script src="https://unpkg.com/@passwordless-id/[email protected]/dist/passwordless-id.min.js"></script>
```js
<script type="module">
import * as passwordless from 'https://unpkg.com/@passwordless-id/webauthn@latest/dist/passwordless.min.js'
</script>
```


Registration
Expand Down Expand Up @@ -71,9 +81,9 @@ Options
Notes
-----

Unlike the webauthn protocol, there are some significant differences.
Unlike the [webauthn protocol](), there are some significant differences.

First, some defaults are also different. Most notably:
First, some defaults are different:

- The `timeout` is one minute by default.
- If the device can act as authenticator itself, it is preffered instead of asking which authenticator type to use.
Expand Down
2 changes: 2 additions & 0 deletions dist/passwordless.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2854bfe

Please sign in to comment.