Interface: CrossDeviceFlowHandlers
Properties
onDeviceAttach
• Optional
onDeviceAttach: () => Promise
<boolean
>
Type declaration
▸ (): Promise
<boolean
>
Returns
Promise
<boolean
>
onCredentialRegister
• Optional
onCredentialRegister: (authCode
: string
) => Promise
<boolean
>
Type declaration
▸ (authCode
): Promise
<boolean
>
Parameters
Name | Type |
---|---|
authCode |
string |
Returns
Promise
<boolean
>
onCredentialAuthenticate
• Optional
onCredentialAuthenticate: (authCode
: string
) => Promise
<boolean
>
Type declaration
▸ (authCode
): Promise
<boolean
>
Parameters
Name | Type |
---|---|
authCode |
string |
Returns
Promise
<boolean
>
onDeviceDetach
• Optional
onDeviceDetach: () => Promise
<boolean
>
Type declaration
▸ (): Promise
<boolean
>
Returns
Promise
<boolean
>
onFailure
• Optional
onFailure: (error
: ErrorCode
) => Promise
<void
>
Type declaration
▸ (error
): Promise
<void
>
Parameters
Name | Type |
---|---|
error |
ErrorCode |
Returns
Promise
<void
>