API

Index

Classes

Interfaces

Type aliases

Functions

Type aliases

Promisable

Ƭ Promisable: T | Promise‹T›

Defined in packages/auth-interceptor/src/promisable.ts:1

QueueItem

Ƭ QueueItem: object

Defined in packages/auth-interceptor/src/simpleQueue.ts:1

Type declaration:

  • fail(): function

    • (reason: any): void

  • run(): function

    • (): Promise‹void›

Functions

Const createAuthInterceptor

createAuthInterceptor(options: AuthInterceptorOptions): AuthInterceptor‹›

Defined in packages/auth-interceptor/src/authInterceptor.ts:87

Parameters:

Returns: AuthInterceptor‹›

Const createOAuth2Interceptor

createOAuth2Interceptor(__namedParameters: object): AuthInterceptor‹›

Defined in packages/auth-interceptor/src/oauth2Interceptor.ts:13

Parameters:

__namedParameters: object

Returns: AuthInterceptor‹›

Const hasUnauthorizedResponseCode

hasUnauthorizedResponseCode(response: HttpResponse): boolean

Defined in packages/auth-interceptor/src/authInterceptor.ts:14

Parameters:

Returns: boolean

Const isUnauthorizedError

isUnauthorizedError(error: any): boolean

Defined in packages/auth-interceptor/src/authInterceptor.ts:15

Parameters:

Returns: boolean

Last updated