Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SASjsApiClient

Hierarchy

  • SASjsApiClient

Constructors

constructor

Methods

deploy

executeJob

getAccessToken

  • Exchanges the auth code for an access token for the given client.

    Parameters

    • clientId: string

      the client ID to authenticate with.

    • authCode: string

      the auth code received from the server.

    Returns Promise<SASjsAuthResponse>

getAuthCode

  • getAuthCode(username: string, password: string, clientId: string): Promise<string>
  • Performs a login authenticate and returns an auth code for the given client.

    Parameters

    • username: string

      a string representing the username.

    • password: string

      a string representing the password.

    • clientId: string

      the client ID to authenticate with.

    Returns Promise<string>

refreshTokens

setConfig

  • setConfig(serverUrl: string): void

Generated using TypeDoc