BaseCrossDeviceHandlers↳
CrossDeviceRegistrationHandlers
• onDeviceAttach: () => Promise<void>
▸ (): Promise<void>
Called when the user has successfully attached a device to the cross-device flow using the attachDevice method.
Promise<void>
BaseCrossDeviceHandlers.onDeviceAttach
• onFailure: (error: ApiCrossDeviceStatusResponse) => Promise<void>
▸ (error): Promise<void>
Called when there was an error in the cross-device flow with status response ApiCrossDeviceStatusResponse.
| Name | Type |
|---|---|
error | ApiCrossDeviceStatusResponse |
Promise<void>
BaseCrossDeviceHandlers.onFailure
• onCredentialRegister: () => Promise<void>
▸ (): Promise<void>
Called upon successful webauthn registration.
Promise<void>