AuthError
AuthInterceptor
InMemoryAuthStorage
SimpleQueue
AuthInterceptorOptions
AuthStorage
OAuth2InterceptorOptions
OAuth2TokenResponse
Ƭ Promisable: T | Promise‹T›
Ƭ QueueItem: object
fail(): function
(reason
: any): void
run(): function
(): Promise‹void›
Const
createAuthInterceptor▸ createAuthInterceptor(options
: AuthInterceptorOptions): AuthInterceptor‹›
Parameters:
Returns: AuthInterceptor‹›
Const
createOAuth2Interceptor▸ createOAuth2Interceptor(__namedParameters
: object): AuthInterceptor‹›
Parameters:
▪ __namedParameters: object
Returns: AuthInterceptor‹›
Const
hasUnauthorizedResponseCode▸ hasUnauthorizedResponseCode(response
: HttpResponse): boolean
Parameters:
Returns: boolean
Const
isUnauthorizedError▸ isUnauthorizedError(error
: any): boolean
Parameters:
Returns: boolean
Name
Type
options
AuthInterceptorOptions
Name
Type
authStorage
AuthStorage‹OAuth2TokenResponse›
canAuthorize
function
oauth
object
onAuthorizationFailure
function
Name
Type
response
HttpResponse
Name
Type
error
any