Skip to content
On this page

Function: usePasskeySignIn()

TypeScript
function usePasskeySignIn(opts?: UseHostOptions): UsePasskeySignInReturn;

Defined in: webauthn.tsx:280 (opens in a new tab)

Sign in with a passkey that the account's Bitcoin address has signed for. Never throws: it resolves { ok: false, reason } (cancelled, passkey_not_for_signin, passkey_not_recognised, …) and sets error. On a family site it then reads the session again, so the page sees who signed in.

ParametersLink to this section

ParameterType
opts?UseHostOptions

ReturnsLink to this section

UsePasskeySignInReturn