Properties
Optional
accessToken
accessToken?: string | Promise<string> | ((name?, scopes?) => string | Promise<string>)
Type declaration
-
- (name?, scopes?): string | Promise<string>
-
Parameters
-
Optional
name: string
-
Optional
scopes: string[]
Returns string | Promise<string>
Optional
apiKey
apiKey?: string | ((name) => string)
Type declaration
-
- (name): string
-
Returns 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
MDN Reference