Skip to content

Connectum API Reference / @connectum/auth / InterceptorFactory

Type Alias: InterceptorFactory<TOptions>

InterceptorFactory<TOptions> = TOptions extends void ? () => Interceptor : (options) => Interceptor

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

Interceptor factory function type

Type Parameters

TOptions

TOptions = void

Options type for the interceptor