minca
ApiReactFunctions

Function: useAuth()

function useAuth(): object;

Defined in: packages/react/src/context.ts:90

The sign-in flow and its state, for screens that manage the account — auth.signOut(), auth.addPasskey(), state.entry.

Returns

object

auth

auth: MincaAuth;

state

state: AuthState;

Throws

Outside a MincaProvider given auth

On this page