Accessors
accessToken
- get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>)
-
Returns ((name?: string, scopes?: string[]) => string | Promise<string>)
-
- (name?: string, scopes?: string[]): string | Promise<string>
-
Parameters
-
Optional
name: string
-
Optional
scopes: string[]
Returns string | Promise<string>
apiKey
- get apiKey(): ((name: string) => string)
-
Returns ((name: string) => string)
-
- (name: string): string
-
Returns string
basePath
- get basePath(): string
-
Returns string
credentials
- get credentials(): RequestCredentials
-
Returns RequestCredentials
fetchApi
- get fetchApi(): ((input: RequestInfo, init?: RequestInit) => Promise<Response>)
-
Returns ((input: RequestInfo, init?: RequestInit) => Promise<Response>)
-
- (input: RequestInfo, init?: RequestInit): Promise<Response>
-
Parameters
-
input: RequestInfo
-
Optional
init: RequestInit
Returns Promise<Response>
password
- get password(): string
-
Returns string
queryParamsStringify
- get queryParamsStringify(): ((params: HTTPQuery) => string)
-
Returns ((params: HTTPQuery) => string)
username
- get username(): string
-
Returns string