Hierarchy (View Summary)

Implements

Constructors

Properties

_baseUrl: string

Methods

  • Gets an OAuth access token given an OAuth code

    Parameters

    • code: string

      Authorization code

    • redirect_uri: string

      Authorization endpoint redirect uri

    • Optionalclient_id: string

      OPTIONAL OAuth application client id

    • Optionalclient_secret: string

      OPTIONAL OAuth application client secret. Required for web apps.

    • Optionalcode_verifier: string

      OPTIONAL PKCE code verifier. Required for SPA apps.

    • Optionalscope: string

      OPTIONAL The requested space-delimited scopes for the access token.

    Returns Promise<LfApiClientCore.GetAccessTokenResponse>

  • Parameters

    • Optionalclient_id: string
    • Optionalclient_secret: string

    Returns Record<string, string>

  • Parameters

    • obj: any

    Returns string

  • Gets a refreshed access token given a refresh token

    Parameters

    • refresh_token: string

      Refresh token

    • Optionalclient_id: string

      OPTIONAL OAuth application client id

    • Optionalclient_secret: string

      OPTIONAL OAuth application client secret. Required for web apps.

    Returns Promise<LfApiClientCore.GetAccessTokenResponse>