Skip to content

Connectum API Reference / @connectum/auth / ClientBearerInterceptorOptions

Interface: ClientBearerInterceptorOptions ​

Defined in: packages/auth/src/types.ts:538

Client-side Bearer token interceptor options.

See ​

createClientBearerInterceptor

Properties ​

token ​

readonly token: string | (() => Promise<string>)

Defined in: packages/auth/src/types.ts:546

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.