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