summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/methods
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-05-20 23:55:24 -0700
committerMatthew Miller <matthew@millerti.me>2020-05-20 23:55:24 -0700
commite1a5fc6bd77be5cc6a67c51520209cf8639bca40 (patch)
tree936bd935c4ca4cd30b1c346ad96e9124b25b22a0 /packages/browser/src/methods
parentdddf3c30d104de7c5fa9da055dd52ed00d8ddaf9 (diff)
Add more docs to startAttestation in browser
Diffstat (limited to 'packages/browser/src/methods')
-rw-r--r--packages/browser/src/methods/startAttestation.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/browser/src/methods/startAttestation.ts b/packages/browser/src/methods/startAttestation.ts
index af28e13..4d5995a 100644
--- a/packages/browser/src/methods/startAttestation.ts
+++ b/packages/browser/src/methods/startAttestation.ts
@@ -9,7 +9,9 @@ import toBase64String from '../helpers/toBase64String';
import supportsWebauthn from '../helpers/supportsWebauthn';
/**
+ * Begin authenticator registration via WebAuthn "attestation"
*
+ * @param creationOptionsJSON Output from @webauthntine/server's generateAttestationOptions(...)
*/
export default async function startAttestation(
creationOptionsJSON: PublicKeyCredentialCreationOptionsJSON