Function ensureAuthenticatedBusinessPlatform

  • Ensure that we have a valid session to access the Business Platform API.

    Parameters

    • scopes: "destinations"[] = []

      Optional array of extra scopes to authenticate with.

    Returns Promise<string>

    The access token for the Business Platform API.