Connectum API Reference / @connectum/auth / ClientBearerInterceptorOptions
Interface: ClientBearerInterceptorOptions
Defined in: packages/auth/src/types.ts:367
Client-side Bearer token interceptor options.
See
Properties
token
readonlytoken:string| (() =>Promise<string>)
Defined in: packages/auth/src/types.ts:375
Bearer token value or async factory function.
When a string is provided, the same token is sent with every request. When a function is provided, it is called before each request to support token refresh flows.
