minca
ApiReactFunctions

Function: useMinca()

function useMinca(): object;

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

The sign-in flow from the nearest MincaProvider, and its state — or nulls, for an app that connects instead.

Returns

object

auth

auth: MincaAuth | null;

session

session: 
  | MincaSession
  | null;

state

state: AuthState | null;

On this page