Package com.google.auth (1.46.0)

GitHub Repository

Classes

Class Description
com.google.auth.ApiKeyCredentials Credentials class for calling Google APIs using an API key.

Uses an API key directly in the request metadata to provide authorization.

com.google.auth.Credentials Represents an abstract authorized identity instance.

Interfaces

Interface Description
com.google.auth.RequestMetadataCallback The callback that receives the result of the asynchronous Credentials#getRequestMetadata(java.net.URI, java.util.concurrent.Executor, RequestMetadataCallback). Exactly one method should be called.
com.google.auth.Retryable
com.google.auth.ServiceAccountSigner Interface for a service account signer. A signer for a service account is capable of signing bytes using the private key associated with its service account.

Enums

Enum Description
com.google.auth.CredentialTypeForMetrics Defines the different types of credentials that can be used for metrics.

Each credential type is associated with a label that is used for reporting purposes. Add new enum constant only when corresponding configs established.

Exceptions

Exception Description
com.google.auth.ServiceAccountSigner.SigningException