Class Configuration

Constructors

Properties

configuration: ConfigurationParameters = {}

Accessors

  • get accessToken(): ((name?, scopes?) => string | Promise<string>)
  • Returns ((name?, scopes?) => string | Promise<string>)

      • (name?, scopes?): string | Promise<string>
      • Parameters

        • Optional name: string
        • Optional scopes: string[]

        Returns string | Promise<string>

  • get apiKey(): ((name) => string | Promise<string>)
  • Returns ((name) => string | Promise<string>)

      • (name): string | Promise<string>
      • Parameters

        • name: string

        Returns string | Promise<string>

  • get basePath(): string
  • Returns string

  • set config(configuration): void
  • Parameters

    Returns void

  • get credentials(): RequestCredentials
  • Returns RequestCredentials

  • get fetchApi(): ((input, init?) => Promise<Response>)
  • Returns ((input, init?) => Promise<Response>)

      • (input, init?): Promise<Response>
      • Parameters

        • input: RequestInfo | URL
        • Optional init: RequestInit

        Returns Promise<Response>

  • get password(): string
  • Returns string

  • get queryParamsStringify(): ((params) => string)
  • Returns ((params) => string)

      • (params): string
      • Parameters

        Returns string

  • get username(): string
  • Returns string