Skip to content

attachAuthInterceptor

attachAuthInterceptor(instance, options): void

Defined in: packages/api-client/src/core/interceptors/authInterceptor.ts:61

Attach the auth async-request transform to an apisauce instance. Safe to call once per RestClient constructor — does not register globally.

ApisauceInstance

AuthInterceptorOptions

void