@adcp/client API Reference - v3.3.3
    Preparing search index...

    Function getAuthToken

    • Get authentication token for an agent

      Supports two explicit authentication methods:

      1. auth_token: Direct token value, used as-is
      2. auth_token_env: Environment variable name, looked up in process.env

      Priority: auth_token takes precedence if both are provided

      Parameters

      Returns undefined | string

      Authentication token string or undefined if not configured/required