Properties
getAccessToken
getAccessToken: (() => null | string | Promise<null | string>)
Type declaration
-
- (): null | string | Promise<null | string>
-
Returns null | string | Promise<null | string>
getRefreshToken
getRefreshToken: (() => null | string | Promise<null | string>)
Type declaration
-
- (): null | string | Promise<null | string>
-
Returns null | string | Promise<null | string>
heseyaUrl
heseyaUrl: string
Optional
onTokenRefreshError
onTokenRefreshError?: ((error: AxiosError<any>) => void)
Type declaration
-
- (error: AxiosError<any>): void
-
Returns void
setAccessToken
setAccessToken: ((token: string) => void)
Type declaration
-
- (token: string): void
-
Returns void
Optional
setIdentityToken
setIdentityToken?: ((token: string) => void)
Type declaration
-
- (token: string): void
-
Returns void
setRefreshToken
setRefreshToken: ((token: string) => void)
Type declaration
-
- (token: string): void
-
Returns void
Optional
shouldIncludeAuthorizationHeader
shouldIncludeAuthorizationHeader?: ((request: AxiosRequestConfig) => boolean)
Type declaration
-
-
Parameters
-
request: AxiosRequestConfig
Returns boolean