AtlasAppServicesClient class for interacting with Atlas App Services.

Hierarchy

  • AtlasAppServicesClient

Constructors

  • Constructor for AtlasAppServicesClient.

    Parameters

    • config: {
          baseUrl: string;
          groupId: string;
          privateKey: string;
          publicKey: string;
      }

      Configuration object containing publicKey, privateKey, baseUrl, and groupId.

      • baseUrl: string
      • groupId: string
      • privateKey: string
      • publicKey: string
    • Optional logger: Logger

      Optional logger for custom logging.

    Returns AtlasAppServicesClient

Properties

accessToken: string
adminApi: AdminApi
apis: {
    [key: string]: any;
} = {}

Type declaration

  • [key: string]: any
appId: string
appsApi: AppsApi
clientAppId: string
groupId: string
logger: Logger
refreshToken: string
tokenExpiration: Date
userId: string

Methods

  • Returns ProxyHandler<any>

  • Returns Promise<void>

  • Initialize the client by logging in and setting up the app.

    Returns Promise<void>

  • Parameters

    • apiName: string

    Returns Promise<any>

  • Returns Promise<void>

  • Parameters

    • token: string

    Returns void

  • Parameters

    • args: any[]
    • depth: number = 2

    Returns string

Generated using TypeDoc