Skip to content

Function: createAuthInterceptor() ​

createAuthInterceptor(tokenSource, type?): (config) => InternalAxiosRequestConfig

Defined in: interceptors.ts:84

Creates authentication interceptor

Parameters ​

tokenSource ​

TokenSource

Auth token or function that returns token

type? ​

string = 'Bearer'

Token type ('Bearer', 'Token', etc.)

Returns ​

Request interceptor

(config) => InternalAxiosRequestConfig

Documentation of 1.0.14 , built from 5520ec9 on 1.0.14 by pipeline #2985012441 on 2026-10-21.