Skip to main content

Interface: UseAuthOptions

Defined in: composables/react/useAuth.ts:149

Options for useAuth.

Properties​

configuration?​

optional configuration?: any

Defined in: composables/react/useAuth.ts:157

Portal configuration: track-attribute names, PA config input, channelId, etc.


graphqlClient​

graphqlClient: GraphQLClient

Defined in: composables/react/useAuth.ts:151

GraphQL client the hook derives its Services bundle from.


language?​

optional language?: string

Defined in: composables/react/useAuth.ts:153

Default primary language for registration / reset emails. Defaults to 'NL'.


onAuthHeaderUpdate?​

optional onAuthHeaderUpdate?: (token) => void

Defined in: composables/react/useAuth.ts:155

Fires whenever the in-memory Bearer header changes — receives the token, or '' when cleared.

Parameters​

token​

string

Returns​

void