Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Commit ba79767

Browse files
committed
Update usage summary.
1 parent e31db06 commit ba79767

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ The WebAuthn API itself takes input and output values that look almost like JSON
66

77
## Usage
88

9-
1. Replace calls to `navigator.credentials.create()` with `create()`, and `navigator.credentials.get()` with `get()`.
9+
1. Replace calls:
10+
- `navigator.credentials.create(...)` with `create(parseCreationOptionsFromJSON(...))`.
11+
- `navigator.credentials.get(...)` with `get(parseRequestOptionsFromJSON(...))`.
1012
2. Encode/decode binary values on the server as base64url.
1113

1214
### Example

0 commit comments

Comments
 (0)