Creates a Basic Authentication header from username and password

  • Parameters

    • username: string

      The username for basic auth

    • password: string

      The password for basic auth

    Returns string

    The Authorization header value (e.g., "Basic dXNlcm5hbWU6cGFzc3dvcmQ=")