Skip to content

Documentation / react-auth / UseLoginWithPasskey

Type alias: UseLoginWithPasskey

UseLoginWithPasskey: Object

Type declaration

loginWithPasskey

loginWithPasskey: (opts?) => Promise<void>

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

Parameters

opts?: Object

opts.credentialIds?: string[]

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.