Constructors
constructor
- new Configuration(configuration?): Configuration
Accessors
accessToken
- get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>)
Returns ((name?: string, scopes?: string[]) => string | Promise<string>)
- (name?, scopes?): string | Promise<string>
Parameters
Optional
name: stringOptional
scopes: string[]
Returns string | Promise<string>
apiKey
- get apiKey(): ((name: string) => string | Promise<string>)
Returns ((name: string) => string | Promise<string>)
- (name): string | Promise<string>
Returns string | Promise<string>
basePath
- get basePath(): string
Returns string
config
- set config(configuration): void
Returns void
credentials
- get credentials(): RequestCredentials
Returns RequestCredentials
fetchApi
- get fetchApi(): ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>)
Returns ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>)
- (input, init?): Promise<Response>
Parameters
- input: RequestInfo | URL
Optional
init: RequestInit
Returns Promise<Response>
headers
middleware
- get middleware(): Middleware[]
password
- get password(): string
Returns string
queryParamsStringify
- get queryParamsStringify(): ((params: HTTPQuery) => string)
Returns ((params: HTTPQuery) => string)
- (params): string
Returns string
username
- get username(): string
Returns string