Skip to content

Documentation / react-auth / UseLoginWithPasskey

Type alias: UseLoginWithPasskey

UseLoginWithPasskey: Object

Type declaration

loginWithPasskey

loginWithPasskey: () => Promise<void>

Logs in a user with a passkey without using any Privy UIs.

Returns

Promise<void>

a Promise that resolves if the passkey is valid, or rejects if there was an error.

state

state: PasskeyFlowState

State of the passkey flow.