Function createPersonalApiAuth

  • Parameters

    • token: string

    Returns string

    string

    Description

    createPersonalApiAuth returns header authroization value for Personal API token. Intended to be used when using request API, also securely include Personal API token for eg: using secret env variables etc. Refer https://docs.livelike.com/reference/authentication#personal-api-token

    Since

    0.1.0

    Example

    const accessToken = ENV.personalApiToken;
    const auth = createPersonalApiAuth(accessToken)

Generated using TypeDoc