Properties
Optional
accessToken
accessToken?: string | Promise<string> | ((name?, scopes?) => string | Promise<string>)
Type declaration
- (name?, scopes?): string | Promise<string>
Parameters
Optional
name: stringOptional
scopes: string[]
Returns string | Promise<string>
Optional
apiKey
apiKey?: string | Promise<string> | ((name) => string | Promise<string>)
Type declaration
- (name): string | Promise<string>
Returns string | Promise<string>
Optional
basePath
basePath?: string
Optional
credentials
credentials?: RequestCredentials
Optional
fetchApi
fetchApi?: ((input, init?) => Promise<Response>)
Type declaration
- (input, init?): Promise<Response>
Parameters
- input: RequestInfo | URL
Optional
init: RequestInit
Returns Promise<Response>
Optional
headers
Optional
middleware
Optional
password
password?: string
Optional
queryParamsStringify
queryParamsStringify?: ((params) => string)
Type declaration
- (params): string
Returns string
Optional
username
username?: string