Create a new GitHub exchanger.
The URL of the GitHub token endpoint (ACTIONS_ID_TOKEN_REQUEST_URL).
The GitHub token to use (ACTIONS_ID_TOKEN_REQUEST_TOKEN).
Protected ReadonlyrequestThe URL of the GitHub token endpoint (ACTIONS_ID_TOKEN_REQUEST_URL).
Protected ReadonlytokenThe GitHub token to use (ACTIONS_ID_TOKEN_REQUEST_TOKEN).
Exchange the credentials for a VeraId credential.
The VeraId Authority endpoint to obtain the credential.
The credential if successful.
ProtectedfetchFetch the JWT from the hosting service.
The audience of the JWT.
The timeout for in milliseconds.
The JWT.
ProtectedgenerateGenerate the Authorization request header for the VeraId Authority credential endpoint.
The VeraId Authority endpoint to obtain the credential.
The timeout (in milliseconds) to obtain the original credential.
The authorization header.
StaticinitCreate a new GitHub exchanger from environment variables.
A new GitHub exchanger.
Exchanger of GitHub tokens for VeraId credentials.