A promise that resolves with the current GCP access token response. If the current credential is expired, a new one is retrieved.
The main authentication interface. It takes an optional url which when present is the endpoint being accessed, and returns a Promise which resolves with authorization header fields.
The result has the form:
{ Authorization: 'Bearer
The URI being authorized.
Subscribes a listener to the tokens event triggered when a token is generated.
The tokens event to subscribe to.
The listener that triggers on event trigger.
The current client instance.
Provides an alternative Gaxios request implementation with auth credentials
Sets the auth credentials.
Defines the root interface for all clients that generate credentials for calling Google APIs. All clients should implement this interface.