• This function authenticates a managed service account.

    Parameters

    • authEndpoint: string

      URL for id-service authEndpoint.

    • clientId: string

      Client ID of the managed service account.

    • clientSecret: string

      Client secret of the managed service account.

    • Optional targetTenantId: string

      Tenant ID to be used in resulting AccessToken. If not provided, Root Tenant ID will be used.

    • Optional targetEnvironmentId: string

      Environment ID to be used in resulting AccessToken. If not provided, Root Environment ID will be used.

    Returns Promise<TokenResult>

    AccessToken for the managed service account.

Generated using TypeDoc