Class Credentials (2.23.0-rc)

An opaque representation of the authentication configuration.

Applications use factory functions to provide the authentication parameters (for example, a raw access token). The factory function encapsulates the parameters in an instance of this class. The interface in this class is (intentionally) very narrow. Only the internal components in the client libraries should need to access the details of this class.

You can use the OAuth2 Library to create access tokens from a Credentials object.

See Also for more information on authentication in GCP.

See Also for more information on the IAM Service.