Hierarchy

  • SASjsApiClient

Constructors

Methods

  • Parameters

    • dataJson: ServicePackSASjs
    • appLoc: string
    • Optional authConfig: AuthConfig

    Returns Promise<{ example?: {}; message: string; status: string; streamServiceName?: string }>

  • Parameters

    Returns Promise<{ log: any; result: any }>

  • Executes code on a SASJS server.

    Parameters

    • code: string

      a string of code to execute.

    • runTime: string = 'sas'

      a string to representing runTime for code execution

    • Optional authConfig: AuthConfig

      an object for authentication.

    Returns Promise<string>

  • 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>

Generated using TypeDoc