Class: Configuration
Types.Configuration
Constructors
constructor
• new Configuration(configuration?
)
Parameters
Name | Type |
---|---|
configuration | ConfigurationParameters |
Accessors
accessToken
• get
accessToken(): undefined
| (name?
: string
, scopes?
: string
[]) => string
| Promise
<string
>
Returns
undefined
| (name?
: string
, scopes?
: string
[]) => string
| Promise
<string
>
apiKey
• get
apiKey(): undefined
| (name
: string
) => string
Returns
undefined
| (name
: string
) => string
basePath
• get
basePath(): string
Returns
string
config
• set
config(configuration
): void
Parameters
Name | Type |
---|---|
configuration | Configuration |
Returns
void
credentials
• get
credentials(): undefined
| RequestCredentials
Returns
undefined
| RequestCredentials
fetchApi
• get
fetchApi(): undefined
| (input
: RequestInfo
| URL
, init?
: RequestInit
) => Promise
<Response
>
Returns
undefined
| (input
: RequestInfo
| URL
, init?
: RequestInit
) => Promise
<Response
>
headers
• get
headers(): undefined
| HTTPHeaders
Returns
undefined
| HTTPHeaders
middleware
• get
middleware(): Middleware
[]
Returns
password
• get
password(): undefined
| string
Returns
undefined
| string
queryParamsStringify
• get
queryParamsStringify(): (params
: HTTPQuery
) => string
Returns
fn
▸ (params
): string
Parameters
Name | Type |
---|---|
params | HTTPQuery |
Returns
string
username
• get
username(): undefined
| string
Returns
undefined
| string