Creates a Credentials that can be used to authenticate with a Personal Access Token.
The personal access token.
Credentials for PAT authentication.
PatCredentialsError with code TOKEN_REQUIRED if the token is empty after trimming, or TOKEN_MALFORMED if it contains internal whitespace.
TOKEN_REQUIRED
TOKEN_MALFORMED
Creates a Credentials that can be used to authenticate with a Personal Access Token.