Uses of Class
com.google.auth.Credentials
Packages that use Credentials
-
Uses of Credentials in com.google.auth
Subclasses of Credentials in com.google.authModifier and TypeClassDescriptionclass
Credentials class for calling Google APIs using an API key. -
Uses of Credentials in com.google.auth.http
Fields in com.google.auth.http declared as CredentialsMethods in com.google.auth.http that return CredentialsModifier and TypeMethodDescriptionHttpCredentialsAdapter.getCredentials()
A getter for the credentials instance being usedConstructors in com.google.auth.http with parameters of type Credentials -
Uses of Credentials in com.google.auth.oauth2
Subclasses of Credentials in com.google.auth.oauth2Modifier and TypeClassDescription(package private) class
OAuth2 credentials representing the built-in service account for Google App Engine.class
Credentials representing an AWS third-party identity for calling Google APIs.class
OAuth2 credentials representing the built-in service account for Google Cloud Shell.class
OAuth2 credentials representing the built-in service account for a Google Compute Engine VM.final class
DownscopedCredentials enables the ability to downscope, or restrict, the Identity and Access Management (IAM) permissions that a short-lived credential can use for Cloud Storage.class
OAuth2 credentials sourced using external identities through Workforce Identity Federation.class
Base external account credentials class.class
class
Base type for credentials for authorizing calls to Google APIs using OAuth2.class
Url-sourced, file-sourced, or user provided supplier method-sourced external account credentials.class
IdTokenCredentials provides a Google Issued OpenIdConnect token.class
ImpersonatedCredentials allowing credentials issued to a user or service account to impersonate another.class
Credentials class for calling Google APIs using a JWT with custom claims.class
Base type for Credentials using OAuth2.class
A refreshable alternative toOAuth2Credentials
.class
PluggableAuthCredentials enables the exchange of workload identity pool external credentials for Google access tokens by retrieving 3rd party tokens through a user supplied executable.class
OAuth2 credentials representing a Service Account for calling Google APIs.class
Service Account credentials for calling Google APIs using a JWT directly for access.class
OAuth2 Credentials representing a user's identity and consent.Methods in com.google.auth.oauth2 with parameters of type CredentialsModifier and TypeMethodDescription(package private) static IdToken
IamUtils.getIdToken
(String serviceAccountEmail, Credentials credentials, com.google.api.client.http.HttpTransport transport, String targetAudience, boolean includeEmail, Map<String, ?> additionalFields, CredentialTypeForMetrics credentialTypeForMetrics) Returns an IdToken issued to the serviceAccount with a specified targetAudience(package private) static byte[]
IamUtils.sign
(String serviceAccountEmail, Credentials credentials, com.google.api.client.http.HttpTransport transport, byte[] toSign, Map<String, ?> additionalFields) Returns a signature for the provided bytes.