Skip to main content

Interface: UseAuthOptions

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

Options for useAuth.

Properties

configuration?

optional configuration?: any

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

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


graphqlClient

graphqlClient: GraphQLClient

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

GraphQL client the hook derives its Services bundle from.


language?

optional language?: string

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

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


onAuthHeaderUpdate?

optional onAuthHeaderUpdate?: (token) => void

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

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

Parameters

token

string

Returns

void