@dolbyio/dolbyio-rest-apis-client - v5.1.1
    Preparing search index...

    Function getApiAccessToken

    • Generates an API token.

      To make any API call, you must acquire a JWT (JSON Web Token) format API token.

      Parameters

      • appKey: string

        Your Dolby.io App Key.

      • appSecret: string

        Your Dolby.io App Secret.

      • OptionalexpiresIn: number

        API token expiration time in seconds. If no value is specified, the default is 1800, indicating 30 minutes. The maximum value is 86,400, indicating 24 hours.

      Returns Promise<JwtToken>

      A JwtToken object through a Promise.