- AuthenticationAutofillActivateHandlers
- AutofillHandlers
- CrossDeviceAuthenticationHandlers
- CrossDeviceRegistrationHandlers
- WebauthnApprovalFlows
- WebauthnAuthenticationFlows
- WebauthnAuthenticationOptions
- WebauthnCrossDeviceFlows
- WebauthnCrossDeviceRegistrationOptions
- WebauthnRegistrationOptions
- WebauthnApis
- CrossDeviceController
- ApiCrossDeviceStatusResponse
- AttachDeviceResult
- SdkError
• Const authenticate: WebauthnAuthenticationFlows
Returns the authentication flows for webauthn
• Const approve: WebauthnApprovalFlows
• crossDevice: WebauthnCrossDeviceFlows
▸ register(username, options?): Promise<string>
Invokes a WebAuthn credential registration for the specified user, including prompting the user for biometrics. If registration is completed successfully, this call will return a promise that resolves to the credential result, which is an object encoded as a base64 string. This encoded result should then be passed to the relevant backend registration endpoint to complete the registration for either a logged-in user or logged-out user.
If registration fails, an SdkError will be thrown.
Throws
Throws
Throws
| Name | Type | Description |
|---|---|---|
username | string | WebAuthn username to register |
options? | WebauthnRegistrationOptions | Additional configuration for registration flow |
Promise<string>
▸ isPlatformAuthenticatorSupported(): Promise<undefined | boolean>
Promise<undefined | boolean>
▸ isAutofillSupported(): Promise<boolean>
Promise<boolean>
▸ getDefaultPaths(): WebauthnApis