Function getOAuthHeader

  • Generates an OAuth authentication header based on the provided secrets. If no access token is provided in the secrets, an empty object is returned.

    Parameters

    • headers: undefined | SecretsType

      The headers containing access-token.

    Returns AuthHeader

    The authentication header.

Generated using TypeDoc