Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ACCESS_TOKEN_INDEX - Static variable in class com.google.auth.oauth2.CloudShellCredentials
- ACCESS_TOKEN_REQUEST - Enum constant in enum com.google.auth.oauth2.MetricsUtils.RequestType
- AccessBoundaryRule(String, List<String>, CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition) - Constructor for class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule
- accessBoundaryRules - Variable in class com.google.auth.oauth2.CredentialAccessBoundary
- accessBoundaryRules - Variable in class com.google.auth.oauth2.CredentialAccessBoundary.Builder
- accessKeyId - Variable in class com.google.auth.oauth2.AwsSecurityCredentials
- accessToken - Variable in class com.google.auth.oauth2.OAuth2Credentials.Builder
- accessToken - Variable in class com.google.auth.oauth2.StsTokenExchangeResponse
- accessToken - Variable in class com.google.auth.oauth2.StsTokenExchangeResponse.Builder
- accessToken - Variable in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig
- accessToken - Variable in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig.Builder
- AccessToken - Class in com.google.auth.oauth2
-
Represents a temporary OAuth2 access token and its expiration information.
- AccessToken(AccessToken.Builder) - Constructor for class com.google.auth.oauth2.AccessToken
- AccessToken(String, Date) - Constructor for class com.google.auth.oauth2.AccessToken
- AccessToken.Builder - Class in com.google.auth.oauth2
- account - Variable in class com.google.auth.oauth2.AppEngineCredentials
- actingParty - Variable in class com.google.auth.oauth2.StsTokenExchangeRequest
- actingParty - Variable in class com.google.auth.oauth2.StsTokenExchangeRequest.Builder
- ActingParty - Class in com.google.auth.oauth2
-
The acting party as defined in OAuth 2.0 Token Exchange.
- ActingParty(String, String) - Constructor for class com.google.auth.oauth2.ActingParty
- actorToken - Variable in class com.google.auth.oauth2.ActingParty
- actorTokenType - Variable in class com.google.auth.oauth2.ActingParty
- addAvailablePermission(String) - Method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.Builder
-
Adds a permission that can be used on the resource.
- addChangeListener(OAuth2Credentials.CredentialsChangedListener) - Method in class com.google.auth.oauth2.OAuth2Credentials
-
Adds a listener that is notified when the Credentials data changes.
- additionalClaims - Variable in class com.google.auth.oauth2.AutoValue_JwtClaims
- additionalClaims - Variable in class com.google.auth.oauth2.AutoValue_JwtClaims.Builder
- additionalHeaders - Variable in class com.google.auth.oauth2.AwsRequestSigner
- additionalHeaders - Variable in class com.google.auth.oauth2.AwsRequestSigner.Builder
- addQuotaProjectIdToRequestMetadata(String, Map<String, List<String>>) - Static method in class com.google.auth.oauth2.GoogleCredentials
-
Adds quota project ID to requestMetadata if present.
- addRule(CredentialAccessBoundary.AccessBoundaryRule) - Method in class com.google.auth.oauth2.CredentialAccessBoundary.Builder
- alg - Variable in class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader.JsonWebKey
- API_CLIENT_HEADER - Static variable in class com.google.auth.oauth2.MetricsUtils
- API_KEY_HEADER_KEY - Static variable in class com.google.auth.ApiKeyCredentials
- apiAudience - Variable in class com.google.auth.oauth2.GdchCredentials
- apiAudience - Variable in class com.google.auth.oauth2.GdchCredentials.Builder
- apiKey - Variable in class com.google.auth.ApiKeyCredentials
- ApiKeyCredentials - Class in com.google.auth
-
Credentials class for calling Google APIs using an API key.
- ApiKeyCredentials(String) - Constructor for class com.google.auth.ApiKeyCredentials
- APP_ENGINE_SIGNAL_CLASS - Static variable in class com.google.auth.oauth2.DefaultCredentialsProvider
- APP_IDENTITY_SERVICE_CLASS - Static variable in class com.google.auth.oauth2.AppEngineCredentials
- APP_IDENTITY_SERVICE_FACTORY_CLASS - Static variable in class com.google.auth.oauth2.AppEngineCredentials
- AppEngineCredentials - Class in com.google.auth.oauth2
-
OAuth2 credentials representing the built-in service account for Google App Engine.
- AppEngineCredentials(Collection<String>, Collection<String>) - Constructor for class com.google.auth.oauth2.AppEngineCredentials
- AppEngineCredentials(Collection<String>, Collection<String>, AppEngineCredentials) - Constructor for class com.google.auth.oauth2.AppEngineCredentials
- appIdentityService - Variable in class com.google.auth.oauth2.AppEngineCredentials
- asyncFetch(Executor) - Method in class com.google.auth.oauth2.OAuth2Credentials
-
Attempts to get a fresh token.
- AsyncRefreshResult(OAuth2Credentials.RefreshTask, boolean) - Constructor for class com.google.auth.oauth2.OAuth2Credentials.AsyncRefreshResult
- audience - Variable in class com.google.auth.oauth2.AutoValue_JwtClaims
- audience - Variable in class com.google.auth.oauth2.AutoValue_JwtClaims.Builder
- audience - Variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- audience - Variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
- audience - Variable in class com.google.auth.oauth2.ExternalAccountCredentials
- audience - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
- audience - Variable in class com.google.auth.oauth2.ExternalAccountSupplierContext
- audience - Variable in class com.google.auth.oauth2.ExternalAccountSupplierContext.Builder
- audience - Variable in class com.google.auth.oauth2.StsTokenExchangeRequest
- audience - Variable in class com.google.auth.oauth2.StsTokenExchangeRequest.Builder
- audience - Variable in class com.google.auth.oauth2.TokenVerifier
- audience - Variable in class com.google.auth.oauth2.TokenVerifier.Builder
- AUTH_REQUEST_TYPE - Static variable in class com.google.auth.oauth2.MetricsUtils
- AuthHttpConstants - Class in com.google.auth.http
-
Constants used for auth in http
- AuthHttpConstants() - Constructor for class com.google.auth.http.AuthHttpConstants
- authLibraryVersion - Static variable in class com.google.auth.oauth2.MetricsUtils
- AUTHORIZATION - Static variable in class com.google.auth.http.AuthHttpConstants
-
HTTP "Authentication" header
- authorizationHeader - Variable in class com.google.auth.oauth2.AwsRequestSignature
- authorizationHeader - Variable in class com.google.auth.oauth2.AwsRequestSignature.Builder
- authPort - Variable in class com.google.auth.oauth2.CloudShellCredentials
- authPort - Variable in class com.google.auth.oauth2.CloudShellCredentials.Builder
- AutoValue_JwtClaims - Class in com.google.auth.oauth2
- AutoValue_JwtClaims(String, String, String, Map<String, String>) - Constructor for class com.google.auth.oauth2.AutoValue_JwtClaims
- AutoValue_JwtClaims.Builder - Class in com.google.auth.oauth2
- availabilityCondition - Variable in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule
- availabilityCondition - Variable in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.Builder
- AvailabilityCondition(String, String, String) - Constructor for class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition
- availablePermissions - Variable in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule
- availablePermissions - Variable in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.Builder
- availableResource - Variable in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule
- availableResource - Variable in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.Builder
- AWS_ACCESS_KEY_ID - Static variable in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- AWS_DEFAULT_REGION - Static variable in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- AWS_IMDSV2_SESSION_TOKEN_HEADER - Static variable in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- AWS_IMDSV2_SESSION_TOKEN_TTL - Static variable in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- AWS_IMDSV2_SESSION_TOKEN_TTL_HEADER - Static variable in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- AWS_METRICS_HEADER_VALUE - Static variable in class com.google.auth.oauth2.AwsCredentials
- AWS_REGION - Static variable in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- AWS_REQUEST_TYPE - Static variable in class com.google.auth.oauth2.AwsRequestSigner
- AWS_SECRET_ACCESS_KEY - Static variable in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- AWS_SESSION_TOKEN - Static variable in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- AWS4 - Enum constant in enum com.google.auth.oauth2.ExternalAccountCredentials.SubjectTokenTypes
- AwsCredentials - Class in com.google.auth.oauth2
-
Credentials representing an AWS third-party identity for calling Google APIs.
- AwsCredentials(AwsCredentials.Builder) - Constructor for class com.google.auth.oauth2.AwsCredentials
-
Internal constructor.
- AwsCredentials.Builder - Class in com.google.auth.oauth2
- awsCredentialSource - Variable in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- AwsCredentialSource - Class in com.google.auth.oauth2
-
The AWS credential source.
- AwsCredentialSource(Map<String, Object>) - Constructor for class com.google.auth.oauth2.AwsCredentialSource
-
The source of the AWS credential.
- AwsDates - Class in com.google.auth.oauth2
-
Formats dates required for AWS Signature V4 request signing.
- AwsDates(String) - Constructor for class com.google.auth.oauth2.AwsDates
- AwsDates(String, String) - Constructor for class com.google.auth.oauth2.AwsDates
- AwsRequestSignature - Class in com.google.auth.oauth2
-
Stores the AWS API request signature based on the AWS Signature Version 4 signing process, and the parameters used in the signing process.
- AwsRequestSignature(AwsSecurityCredentials, Map<String, String>, String, String, String, String, String, String, String) - Constructor for class com.google.auth.oauth2.AwsRequestSignature
- AwsRequestSignature.Builder - Class in com.google.auth.oauth2
- AwsRequestSigner - Class in com.google.auth.oauth2
-
Internal utility that signs AWS API requests based on the AWS Signature Version 4 signing process.
- AwsRequestSigner(AwsSecurityCredentials, String, String, String, String, Map<String, String>, AwsDates) - Constructor for class com.google.auth.oauth2.AwsRequestSigner
-
Internal constructor.
- AwsRequestSigner.Builder - Class in com.google.auth.oauth2
- awsSecurityCredentials - Variable in class com.google.auth.oauth2.AwsRequestSignature
- awsSecurityCredentials - Variable in class com.google.auth.oauth2.AwsRequestSignature.Builder
- awsSecurityCredentials - Variable in class com.google.auth.oauth2.AwsRequestSigner
- awsSecurityCredentials - Variable in class com.google.auth.oauth2.AwsRequestSigner.Builder
- AwsSecurityCredentials - Class in com.google.auth.oauth2
-
Defines AWS security credentials.
- AwsSecurityCredentials(String, String, String) - Constructor for class com.google.auth.oauth2.AwsSecurityCredentials
-
Constructor for AWSSecurityCredentials.
- awsSecurityCredentialsSupplier - Variable in class com.google.auth.oauth2.AwsCredentials
- awsSecurityCredentialsSupplier - Variable in class com.google.auth.oauth2.AwsCredentials.Builder
- AwsSecurityCredentialsSupplier - Interface in com.google.auth.oauth2
-
Supplier for retrieving AWS Security credentials for
AwsCredentials
to exchange for GCP access tokens.
B
- BEARER - Static variable in class com.google.auth.http.AuthHttpConstants
-
HTTP "Bearer" authentication scheme
- BEARER_PREFIX - Static variable in class com.google.auth.http.InternalAuthHttpConstants
- BEARER_PREFIX - Static variable in class com.google.auth.oauth2.OAuth2Utils
- blockingGetToCallback(URI, RequestMetadataCallback) - Method in class com.google.auth.Credentials
-
Call
Credentials.getRequestMetadata(URI)
and pass the result or error to the callback. - build() - Method in class com.google.auth.oauth2.AccessToken.Builder
- build() - Method in class com.google.auth.oauth2.AutoValue_JwtClaims.Builder
- build() - Method in class com.google.auth.oauth2.AwsCredentials.Builder
- build() - Method in class com.google.auth.oauth2.AwsRequestSignature.Builder
- build() - Method in class com.google.auth.oauth2.AwsRequestSigner.Builder
- build() - Method in class com.google.auth.oauth2.ClientId.Builder
- build() - Method in class com.google.auth.oauth2.CloudShellCredentials.Builder
- build() - Method in class com.google.auth.oauth2.ComputeEngineCredentials.Builder
- build() - Method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition.Builder
- build() - Method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.Builder
- build() - Method in class com.google.auth.oauth2.CredentialAccessBoundary.Builder
- build() - Method in class com.google.auth.oauth2.DownscopedCredentials.Builder
- build() - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
- build() - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
- build() - Method in class com.google.auth.oauth2.ExternalAccountSupplierContext.Builder
- build() - Method in class com.google.auth.oauth2.GdchCredentials.Builder
- build() - Method in class com.google.auth.oauth2.GoogleCredentials.Builder
- build() - Method in class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- build() - Method in class com.google.auth.oauth2.IdTokenCredentials.Builder
- build() - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- build() - Method in class com.google.auth.oauth2.JwtClaims.Builder
- build() - Method in class com.google.auth.oauth2.JwtCredentials.Builder
- build() - Method in class com.google.auth.oauth2.OAuth2Credentials.Builder
- build() - Method in class com.google.auth.oauth2.OAuth2CredentialsWithRefresh.Builder
- build() - Method in class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- build() - Method in class com.google.auth.oauth2.SecureSessionAgent.Builder
- build() - Method in class com.google.auth.oauth2.SecureSessionAgentConfig.Builder
- build() - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- build() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- build() - Method in class com.google.auth.oauth2.StsRequestHandler.Builder
- build() - Method in class com.google.auth.oauth2.StsTokenExchangeRequest.Builder
- build() - Method in class com.google.auth.oauth2.StsTokenExchangeResponse.Builder
- build() - Method in class com.google.auth.oauth2.TokenVerifier.Builder
-
Build the custom TokenVerifier for verifying tokens.
- build() - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
- build() - Method in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig.Builder
- build() - Method in class com.google.auth.oauth2.UserCredentials.Builder
- Builder() - Constructor for class com.google.auth.oauth2.AccessToken.Builder
- Builder() - Constructor for class com.google.auth.oauth2.AutoValue_JwtClaims.Builder
- Builder() - Constructor for class com.google.auth.oauth2.AwsCredentials.Builder
- Builder() - Constructor for class com.google.auth.oauth2.AwsRequestSignature.Builder
- Builder() - Constructor for class com.google.auth.oauth2.ClientId.Builder
- Builder() - Constructor for class com.google.auth.oauth2.CloudShellCredentials.Builder
- Builder() - Constructor for class com.google.auth.oauth2.ComputeEngineCredentials.Builder
- Builder() - Constructor for class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition.Builder
- Builder() - Constructor for class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.Builder
- Builder() - Constructor for class com.google.auth.oauth2.CredentialAccessBoundary.Builder
- Builder() - Constructor for class com.google.auth.oauth2.DownscopedCredentials.Builder
- Builder() - Constructor for class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
- Builder() - Constructor for class com.google.auth.oauth2.ExternalAccountCredentials.Builder
- Builder() - Constructor for class com.google.auth.oauth2.ExternalAccountSupplierContext.Builder
- Builder() - Constructor for class com.google.auth.oauth2.GdchCredentials.Builder
- Builder() - Constructor for class com.google.auth.oauth2.GoogleCredentials.Builder
- Builder() - Constructor for class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- Builder() - Constructor for class com.google.auth.oauth2.IdTokenCredentials.Builder
- Builder() - Constructor for class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- Builder() - Constructor for class com.google.auth.oauth2.JwtClaims.Builder
- Builder() - Constructor for class com.google.auth.oauth2.JwtCredentials.Builder
- Builder() - Constructor for class com.google.auth.oauth2.OAuth2Credentials.Builder
- Builder() - Constructor for class com.google.auth.oauth2.OAuth2CredentialsWithRefresh.Builder
- Builder() - Constructor for class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- Builder() - Constructor for class com.google.auth.oauth2.SecureSessionAgent.Builder
- Builder() - Constructor for class com.google.auth.oauth2.SecureSessionAgentConfig.Builder
- Builder() - Constructor for class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- Builder() - Constructor for class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- Builder() - Constructor for class com.google.auth.oauth2.TokenVerifier.Builder
- Builder() - Constructor for class com.google.auth.oauth2.UserAuthorizer.Builder
- Builder() - Constructor for class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig.Builder
- Builder() - Constructor for class com.google.auth.oauth2.UserCredentials.Builder
- Builder(AccessToken) - Constructor for class com.google.auth.oauth2.AccessToken.Builder
- Builder(AwsCredentials) - Constructor for class com.google.auth.oauth2.AwsCredentials.Builder
- Builder(AwsSecurityCredentials, String, String, String) - Constructor for class com.google.auth.oauth2.AwsRequestSigner.Builder
- Builder(ClientId) - Constructor for class com.google.auth.oauth2.ClientId.Builder
- Builder(CloudShellCredentials) - Constructor for class com.google.auth.oauth2.CloudShellCredentials.Builder
- Builder(ComputeEngineCredentials) - Constructor for class com.google.auth.oauth2.ComputeEngineCredentials.Builder
- Builder(ExternalAccountAuthorizedUserCredentials) - Constructor for class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
- Builder(ExternalAccountCredentials) - Constructor for class com.google.auth.oauth2.ExternalAccountCredentials.Builder
- Builder(GdchCredentials) - Constructor for class com.google.auth.oauth2.GdchCredentials.Builder
- Builder(GoogleCredentials) - Constructor for class com.google.auth.oauth2.GoogleCredentials.Builder
- Builder(GoogleCredentials.Builder) - Constructor for class com.google.auth.oauth2.GoogleCredentials.Builder
- Builder(GoogleCredentials, String) - Constructor for class com.google.auth.oauth2.ImpersonatedCredentials.Builder
-
Deprecated.
- Builder(IdentityPoolCredentials) - Constructor for class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- Builder(ImpersonatedCredentials) - Constructor for class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- Builder(OAuth2Credentials) - Constructor for class com.google.auth.oauth2.OAuth2Credentials.Builder
- Builder(PluggableAuthCredentials) - Constructor for class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- Builder(ServiceAccountCredentials) - Constructor for class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- Builder(ServiceAccountJwtAccessCredentials) - Constructor for class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- Builder(UserAuthorizer) - Constructor for class com.google.auth.oauth2.UserAuthorizer.Builder
- Builder(UserCredentials) - Constructor for class com.google.auth.oauth2.UserCredentials.Builder
- Builder(String, StsTokenExchangeRequest, HttpRequestFactory) - Constructor for class com.google.auth.oauth2.StsRequestHandler.Builder
- Builder(String, String) - Constructor for class com.google.auth.oauth2.StsTokenExchangeRequest.Builder
- Builder(String, String, String) - Constructor for class com.google.auth.oauth2.StsTokenExchangeResponse.Builder
- buildEs256PublicKey(TokenVerifier.PublicKeyLoader.JsonWebKey) - Method in class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader
- buildIdTokenRequest(URI, HttpTransportFactory, HttpContent) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- buildImpersonatedCredentials() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- buildPublicKey(TokenVerifier.PublicKeyLoader.JsonWebKey) - Method in class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader
- buildPublicKey(String) - Method in class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader
- buildRefreshRequest() - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- buildResponse(GenericData) - Method in class com.google.auth.oauth2.StsRequestHandler
- buildRs256PublicKey(TokenVerifier.PublicKeyLoader.JsonWebKey) - Method in class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader
- buildSubjectToken(AwsRequestSignature) - Method in class com.google.auth.oauth2.AwsCredentials
- buildTokenRequest() - Method in class com.google.auth.oauth2.StsRequestHandler
- BYOID_METRICS_SECTION - Static variable in class com.google.auth.oauth2.ExternalAccountMetricsHandler
C
- caCertPath - Variable in class com.google.auth.oauth2.GdchCredentials.Builder
- caCertPath - Variable in class com.google.auth.oauth2.GdchCredentials
- cachedCredentials - Variable in class com.google.auth.oauth2.DefaultCredentialsProvider
- CacheState() - Constructor for enum com.google.auth.oauth2.OAuth2Credentials.CacheState
- calculateAwsV4Signature(String, String, String, String, String) - Method in class com.google.auth.oauth2.AwsRequestSigner
-
Task 3: Calculate the signature for AWS Signature Version 4.
- calendar - Variable in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- calendar - Variable in class com.google.auth.oauth2.ImpersonatedCredentials
- callback - Variable in class com.google.auth.oauth2.OAuth2Credentials.FutureCallbackToMetadataCallbackAdapter
- callbackUri - Variable in class com.google.auth.oauth2.UserAuthorizer.Builder
- callbackUri - Variable in class com.google.auth.oauth2.UserAuthorizer
- canonicalHeaders - Variable in class com.google.auth.oauth2.AwsRequestSignature.Builder
- canonicalHeaders - Variable in class com.google.auth.oauth2.AwsRequestSignature
- canRefresh() - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- canRetrieveRegionFromEnvironment() - Method in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- canRetrieveSecurityCredentialsFromEnvironment() - Method in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- certificatesLocation - Variable in class com.google.auth.oauth2.TokenVerifier.Builder
- certificatesLocation - Variable in class com.google.auth.oauth2.TokenVerifier
- changeListeners - Variable in class com.google.auth.oauth2.OAuth2Credentials
- checkedAppEngine - Variable in class com.google.auth.oauth2.DefaultCredentialsProvider
- checkedComputeEngine - Variable in class com.google.auth.oauth2.DefaultCredentialsProvider
- checkProductNameOnLinux(BufferedReader) - Static method in class com.google.auth.oauth2.ComputeEngineCredentials
- checkStaticGceDetection(DefaultCredentialsProvider) - Static method in class com.google.auth.oauth2.ComputeEngineCredentials
- CLIENT_SECRET_BASIC - Enum constant in enum com.google.auth.oauth2.UserAuthorizer.ClientAuthenticationType
- CLIENT_SECRET_POST - Enum constant in enum com.google.auth.oauth2.UserAuthorizer.ClientAuthenticationType
- clientAuthenticationType - Variable in class com.google.auth.oauth2.UserAuthorizer.Builder
- clientAuthenticationType - Variable in class com.google.auth.oauth2.UserAuthorizer
- ClientAuthenticationType() - Constructor for enum com.google.auth.oauth2.UserAuthorizer.ClientAuthenticationType
- clientEmail - Variable in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- clientEmail - Variable in class com.google.auth.oauth2.ServiceAccountCredentials
- clientEmail - Variable in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- clientEmail - Variable in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- clientId - Variable in class com.google.auth.oauth2.ClientId.Builder
- clientId - Variable in class com.google.auth.oauth2.ClientId
- clientId - Variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
- clientId - Variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- clientId - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
- clientId - Variable in class com.google.auth.oauth2.ExternalAccountCredentials
- clientId - Variable in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- clientId - Variable in class com.google.auth.oauth2.ServiceAccountCredentials
- clientId - Variable in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- clientId - Variable in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- clientId - Variable in class com.google.auth.oauth2.UserAuthorizer.Builder
- clientId - Variable in class com.google.auth.oauth2.UserAuthorizer
- clientId - Variable in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig.Builder
- clientId - Variable in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig
- clientId - Variable in class com.google.auth.oauth2.UserCredentials.Builder
- clientId - Variable in class com.google.auth.oauth2.UserCredentials
- ClientId - Class in com.google.auth.oauth2
-
An OAuth2 user authorization Client ID and associated information.
- ClientId(String, String) - Constructor for class com.google.auth.oauth2.ClientId
-
Constructs a client ID using an explicit ID and secret
- ClientId.Builder - Class in com.google.auth.oauth2
- clientSecret - Variable in class com.google.auth.oauth2.ClientId.Builder
- clientSecret - Variable in class com.google.auth.oauth2.ClientId
- clientSecret - Variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
- clientSecret - Variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- clientSecret - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
- clientSecret - Variable in class com.google.auth.oauth2.ExternalAccountCredentials
- clientSecret - Variable in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig.Builder
- clientSecret - Variable in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig
- clientSecret - Variable in class com.google.auth.oauth2.UserCredentials.Builder
- clientSecret - Variable in class com.google.auth.oauth2.UserCredentials
- clock - Variable in class com.google.auth.oauth2.JwtCredentials.Builder
- clock - Variable in class com.google.auth.oauth2.JwtCredentials
- clock - Variable in class com.google.auth.oauth2.OAuth2Credentials
- clock - Variable in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- clock - Variable in class com.google.auth.oauth2.TokenVerifier.Builder
- clock - Variable in class com.google.auth.oauth2.TokenVerifier
- CLOCK_SKEW - Static variable in class com.google.auth.oauth2.JwtCredentials
- CLOCK_SKEW - Static variable in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- CLOUD_PLATFORM_SCOPE - Static variable in class com.google.auth.oauth2.ExternalAccountCredentials
- CLOUD_PLATFORM_SCOPE - Static variable in class com.google.auth.oauth2.ImpersonatedCredentials
- CLOUD_SHELL_ENV_VAR - Static variable in class com.google.auth.oauth2.DefaultCredentialsProvider
- CLOUDSDK_CLIENT_ID - Static variable in class com.google.auth.oauth2.DefaultCredentialsProvider
- CLOUDSDK_CONFIG_DIRECTORY - Static variable in class com.google.auth.oauth2.DefaultCredentialsProvider
- CLOUDSDK_CREDENTIALS_WARNING - Static variable in class com.google.auth.oauth2.DefaultCredentialsProvider
- CLOUDSDK_MISSING_CREDENTIALS - Static variable in class com.google.auth.oauth2.DefaultCredentialsProvider
- CloudShellCredentials - Class in com.google.auth.oauth2
-
OAuth2 credentials representing the built-in service account for Google Cloud Shell.
- CloudShellCredentials(CloudShellCredentials.Builder) - Constructor for class com.google.auth.oauth2.CloudShellCredentials
- CloudShellCredentials.Builder - Class in com.google.auth.oauth2
- codeChallenge - Variable in class com.google.auth.oauth2.DefaultPKCEProvider
- codeChallenge - Variable in class com.google.auth.oauth2.DefaultPKCEProvider.CodeChallenge
- CodeChallenge(String) - Constructor for class com.google.auth.oauth2.DefaultPKCEProvider.CodeChallenge
- codeChallengeMethod - Variable in class com.google.auth.oauth2.DefaultPKCEProvider.CodeChallenge
- codeVerifier - Variable in class com.google.auth.oauth2.DefaultPKCEProvider
- com.google.auth - package com.google.auth
- com.google.auth.http - package com.google.auth.http
- com.google.auth.oauth2 - package com.google.auth.oauth2
- COMMAND_KEY - Static variable in class com.google.auth.oauth2.PluggableAuthCredentialSource
- COMPUTE_EXPIRATION_MARGIN - Static variable in class com.google.auth.oauth2.ComputeEngineCredentials
- COMPUTE_PING_CONNECTION_TIMEOUT_MS - Static variable in class com.google.auth.oauth2.ComputeEngineCredentials
- COMPUTE_REFRESH_MARGIN - Static variable in class com.google.auth.oauth2.ComputeEngineCredentials
- ComputeEngineCredentials - Class in com.google.auth.oauth2
-
OAuth2 credentials representing the built-in service account for a Google Compute Engine VM.
- ComputeEngineCredentials(ComputeEngineCredentials.Builder) - Constructor for class com.google.auth.oauth2.ComputeEngineCredentials
-
An internal constructor
- ComputeEngineCredentials.Builder - Class in com.google.auth.oauth2
- config - Variable in class com.google.auth.oauth2.PluggableAuthCredentials
- CONFIG_LIFETIME_KEY - Static variable in class com.google.auth.oauth2.ExternalAccountMetricsHandler
- configLifetime - Variable in class com.google.auth.oauth2.ExternalAccountMetricsHandler
- create() - Method in interface com.google.auth.http.HttpTransportFactory
-
Creates a
HttpTransport
instance. - create() - Static method in class com.google.auth.oauth2.ComputeEngineCredentials
-
Create a new ComputeEngineCredentials instance with default behavior.
- create() - Method in class com.google.auth.oauth2.GdchCredentials.TransportFactoryForGdch
- create() - Method in class com.google.auth.oauth2.OAuth2Utils.DefaultHttpTransportFactory
- create() - Static method in class com.google.auth.oauth2.SecureSessionAgent
- create(int) - Static method in class com.google.auth.oauth2.CloudShellCredentials
- create(AccessToken) - Static method in class com.google.auth.oauth2.GoogleCredentials
-
Returns the credentials instance from the given access token.
- create(AccessToken) - Static method in class com.google.auth.oauth2.OAuth2Credentials
-
Returns the credentials instance from the given access token.
- create(AccessToken, Map<String, List<String>>) - Static method in class com.google.auth.oauth2.OAuth2Credentials.OAuthValue
- create(GoogleCredentials, String, List<String>, List<String>, int) - Static method in class com.google.auth.oauth2.ImpersonatedCredentials
- create(GoogleCredentials, String, List<String>, List<String>, int, HttpTransportFactory) - Static method in class com.google.auth.oauth2.ImpersonatedCredentials
- create(GoogleCredentials, String, List<String>, List<String>, int, HttpTransportFactory, String) - Static method in class com.google.auth.oauth2.ImpersonatedCredentials
- create(GoogleCredentials, String, List<String>, List<String>, int, HttpTransportFactory, String, String) - Static method in class com.google.auth.oauth2.ImpersonatedCredentials
- create(String) - Static method in class com.google.auth.ApiKeyCredentials
- create(String) - Static method in class com.google.auth.oauth2.IdToken
-
Creates an IdToken given the encoded Json Web Signature.
- create(String, JsonFactory) - Static method in class com.google.auth.oauth2.IdToken
-
Creates an IdToken given the encoded Json Web Signature and JSON Factory
- create(String, AccessToken) - Static method in class com.google.auth.oauth2.GoogleCredentials
-
Returns the credentials instance from the given access token and universe domain.
- createAssertion(JsonFactory, long) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- createAssertion(JsonFactory, long, URI) - Method in class com.google.auth.oauth2.GdchCredentials
-
Create a self-signed JWT for GDCH authentication flow.
- createAssertionForIdToken(long, String, String) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- createBuilder() - Static method in class com.google.auth.oauth2.SecureSessionAgentConfig
- createCache() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- createCanonicalRequestHash(Map<String, String>, List<String>) - Method in class com.google.auth.oauth2.AwsRequestSigner
-
Task 1: Create a canonical request for Signature Version 4.
- createCodeChallenge(String) - Method in class com.google.auth.oauth2.DefaultPKCEProvider
- createCodeVerifier() - Method in class com.google.auth.oauth2.DefaultPKCEProvider
- createDelegated(String) - Method in class com.google.auth.oauth2.GoogleCredentials
-
If the credentials support domain-wide delegation, creates a copy of the identity so that it impersonates the specified user; otherwise, returns the same instance.
- createDelegated(String) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- createFromHttpResponseException(HttpResponseException) - Static method in exception class com.google.auth.oauth2.OAuthException
- createMetadataRequestHeaders(AwsCredentialSource) - Method in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- createScoped(String...) - Method in class com.google.auth.oauth2.GoogleCredentials
-
If the credentials support scopes, creates a copy of the identity with the specified scopes; otherwise, returns the same instance.
- createScoped(Collection<String>) - Method in class com.google.auth.oauth2.AppEngineCredentials
- createScoped(Collection<String>) - Method in class com.google.auth.oauth2.AwsCredentials
-
Clones the AwsCredentials with the specified scopes.
- createScoped(Collection<String>) - Method in class com.google.auth.oauth2.ComputeEngineCredentials
-
Clones the compute engine account with the specified scopes.
- createScoped(Collection<String>) - Method in class com.google.auth.oauth2.GoogleCredentials
-
If the credentials support scopes, creates a copy of the identity with the specified scopes, invalidates the existing scoped access token; otherwise, return the same instance.
- createScoped(Collection<String>) - Method in class com.google.auth.oauth2.IdentityPoolCredentials
-
Clones the IdentityPoolCredentials with the specified scopes.
- createScoped(Collection<String>) - Method in class com.google.auth.oauth2.ImpersonatedCredentials
- createScoped(Collection<String>) - Method in class com.google.auth.oauth2.PluggableAuthCredentials
-
Clones the PluggableAuthCredentials with the specified scopes.
- createScoped(Collection<String>) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Clones the service account with the specified scopes.
- createScoped(Collection<String>, Collection<String>) - Method in class com.google.auth.oauth2.AppEngineCredentials
- createScoped(Collection<String>, Collection<String>) - Method in class com.google.auth.oauth2.ComputeEngineCredentials
-
Clones the compute engine account with the specified scopes and default scopes.
- createScoped(Collection<String>, Collection<String>) - Method in class com.google.auth.oauth2.GoogleCredentials
-
If the credentials support scopes, creates a copy of the identity with the specified scopes and default scopes; otherwise, returns the same instance.
- createScoped(Collection<String>, Collection<String>) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Clones the service account with the specified scopes.
- createScopedRequired() - Method in class com.google.auth.oauth2.AppEngineCredentials
- createScopedRequired() - Method in class com.google.auth.oauth2.GoogleCredentials
-
Indicates whether the credentials require scopes to be specified via a call to
GoogleCredentials.createScoped(java.util.Collection<java.lang.String>)
before use. - createScopedRequired() - Method in class com.google.auth.oauth2.ImpersonatedCredentials
- createScopedRequired() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Returns whether the scopes are empty, meaning createScoped must be called before use.
- createSelfSignedJwtCredentials(URI) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- createSelfSignedJwtCredentials(URI, Collection<String>) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- createStringToSign(String, String, String) - Method in class com.google.auth.oauth2.AwsRequestSigner
-
Task 2: Create a string to sign for Signature Version 4.
- createTokenUrlWithScopes() - Method in class com.google.auth.oauth2.ComputeEngineCredentials
-
If scopes is specified, add "?scopes=comma-separated-list-of-scopes" to the token url.
- createWithCustomCalendar(Calendar) - Method in class com.google.auth.oauth2.ImpersonatedCredentials
-
Clones the impersonated credentials with a new calendar.
- createWithCustomLifetime(int) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Clones the service account with a new lifetime value.
- createWithCustomRetryStrategy(boolean) - Method in class com.google.auth.oauth2.GoogleCredentials
-
If the credentials support automatic retries, creates a copy of the identity with the provided retry strategy
- createWithCustomRetryStrategy(boolean) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Clones the service account with the specified default retries.
- createWithGdchAudience(URI) - Method in class com.google.auth.oauth2.GdchCredentials
-
Create a copy of GDCH credentials with the specified audience.
- createWithQuotaProject(String) - Method in class com.google.auth.oauth2.GoogleCredentials
-
Creates a credential with the provided quota project.
- createWithTokenEndpointIOException(IOException) - Static method in exception class com.google.auth.oauth2.GoogleAuthException
-
Creates an instance of the exception based on
IOException
returned by Google token endpoint. - createWithTokenEndpointIOException(IOException, String) - Static method in exception class com.google.auth.oauth2.GoogleAuthException
-
Creates an instance of the exception based on
IOException
and a custom error message. - createWithTokenEndpointResponseException(HttpResponseException) - Static method in exception class com.google.auth.oauth2.GoogleAuthException
-
Creates an instance of the exception based on
HttpResponseException
returned by Google token endpoint. - createWithTokenEndpointResponseException(HttpResponseException, String) - Static method in exception class com.google.auth.oauth2.GoogleAuthException
-
Creates an instance of the exception based on
HttpResponseException
and a custom error message. - createWithUseJwtAccessWithScope(boolean) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Clones the service account with a new useJwtAccessWithScope value.
- CRED_TYPE - Static variable in class com.google.auth.oauth2.MetricsUtils
- CREDENTIAL_ENV_VAR - Static variable in class com.google.auth.oauth2.DefaultCredentialsProvider
- credentialAccessBoundary - Variable in class com.google.auth.oauth2.DownscopedCredentials.Builder
- credentialAccessBoundary - Variable in class com.google.auth.oauth2.DownscopedCredentials
- CredentialAccessBoundary - Class in com.google.auth.oauth2
-
Defines an upper bound of permissions available for a GCP credential via
CredentialAccessBoundary.AccessBoundaryRule
s. - CredentialAccessBoundary(List<CredentialAccessBoundary.AccessBoundaryRule>) - Constructor for class com.google.auth.oauth2.CredentialAccessBoundary
- CredentialAccessBoundary.AccessBoundaryRule - Class in com.google.auth.oauth2
-
Defines an upper bound of permissions on a particular resource.
- CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition - Class in com.google.auth.oauth2
-
An optional condition that can be used as part of a
CredentialAccessBoundary.AccessBoundaryRule
to further restrict permissions. - CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition.Builder - Class in com.google.auth.oauth2
- CredentialAccessBoundary.AccessBoundaryRule.Builder - Class in com.google.auth.oauth2
- CredentialAccessBoundary.Builder - Class in com.google.auth.oauth2
- CredentialFormatException - Exception Class in com.google.auth.oauth2
-
Indicates that the provided credential does not adhere to the required format.
- CredentialFormatException(String, Throwable) - Constructor for exception class com.google.auth.oauth2.CredentialFormatException
- credentialFormatType - Variable in class com.google.auth.oauth2.IdentityPoolCredentialSource
- CredentialFormatType() - Constructor for enum com.google.auth.oauth2.IdentityPoolCredentialSource.CredentialFormatType
- credentialLocation - Variable in class com.google.auth.oauth2.IdentityPoolCredentialSource
- credentials - Variable in class com.google.auth.http.HttpCredentialsAdapter
- credentials - Variable in class com.google.auth.oauth2.ExternalAccountMetricsHandler
- Credentials - Class in com.google.auth
-
Represents an abstract authorized identity instance.
- Credentials() - Constructor for class com.google.auth.Credentials
- credentialsCache - Variable in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- credentialScope - Variable in class com.google.auth.oauth2.AwsRequestSignature.Builder
- credentialScope - Variable in class com.google.auth.oauth2.AwsRequestSignature
- credentialSource - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
- credentialSource - Variable in class com.google.auth.oauth2.ExternalAccountCredentials
- credentialSource - Variable in class com.google.auth.oauth2.FileIdentityPoolSubjectTokenSupplier
- credentialSource - Variable in class com.google.auth.oauth2.UrlIdentityPoolSubjectTokenSupplier
- CredentialSource(Map<String, Object>) - Constructor for class com.google.auth.oauth2.ExternalAccountCredentials.CredentialSource
- credentialSourceType - Variable in class com.google.auth.oauth2.IdentityPoolCredentialSource
- CredentialTypeForMetrics - Enum in com.google.auth
-
Defines the different types of credentials that can be used for metrics.
- CredentialTypeForMetrics(String) - Constructor for enum com.google.auth.CredentialTypeForMetrics
- crv - Variable in class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader.JsonWebKey
- customTokenLifetimeRequested - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.ServiceAccountImpersonationOptions
D
- date - Variable in class com.google.auth.oauth2.AwsRequestSignature.Builder
- date - Variable in class com.google.auth.oauth2.AwsRequestSignature
- dates - Variable in class com.google.auth.oauth2.AwsRequestSigner.Builder
- dates - Variable in class com.google.auth.oauth2.AwsRequestSigner
- DEFAULT - Static variable in class com.google.auth.oauth2.DefaultCredentialsProvider
- DEFAULT_CALLBACK_URI - Static variable in class com.google.auth.oauth2.UserAuthorizer
- DEFAULT_EXECUTABLE_TIMEOUT_MS - Static variable in class com.google.auth.oauth2.PluggableAuthCredentialSource
- DEFAULT_EXPIRATION_MARGIN - Static variable in class com.google.auth.oauth2.OAuth2Credentials
- DEFAULT_LIFETIME_IN_SECONDS - Static variable in class com.google.auth.oauth2.GdchCredentials
- DEFAULT_LIFETIME_IN_SECONDS - Static variable in class com.google.auth.oauth2.ImpersonatedCredentials
- DEFAULT_LIFETIME_IN_SECONDS - Static variable in class com.google.auth.oauth2.ServiceAccountCredentials
- DEFAULT_METADATA_SERVER_URL - Static variable in class com.google.auth.oauth2.ComputeEngineCredentials
- DEFAULT_NUMBER_OF_RETRIES - Static variable in class com.google.auth.oauth2.OAuth2Utils
- DEFAULT_NUMBER_OF_RETRIES - Static variable in class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader
- DEFAULT_REFRESH_MARGIN - Static variable in class com.google.auth.oauth2.OAuth2Credentials
- DEFAULT_REGIONAL_CREDENTIAL_VERIFICATION_URL - Static variable in class com.google.auth.oauth2.AwsCredentials
- DEFAULT_TOKEN_LIFETIME_SECONDS - Static variable in class com.google.auth.oauth2.ExternalAccountCredentials.ServiceAccountImpersonationOptions
- DEFAULT_TOKEN_URL - Static variable in class com.google.auth.oauth2.ExternalAccountCredentials
- defaultAudience - Variable in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- defaultAudience - Variable in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- defaultCredentialsProvider - Static variable in class com.google.auth.oauth2.GoogleCredentials
- DefaultCredentialsProvider - Class in com.google.auth.oauth2
-
Provides the Application Default Credential from the environment.
- DefaultCredentialsProvider() - Constructor for class com.google.auth.oauth2.DefaultCredentialsProvider
- DefaultHttpTransportFactory() - Constructor for class com.google.auth.oauth2.OAuth2Utils.DefaultHttpTransportFactory
- DefaultPKCEProvider - Class in com.google.auth.oauth2
-
Implements PKCE using only the Java standard library.
- DefaultPKCEProvider() - Constructor for class com.google.auth.oauth2.DefaultPKCEProvider
- DefaultPKCEProvider.CodeChallenge - Class in com.google.auth.oauth2
-
Class representing the Code Challenge derived from a Code Verifier string.
- DefaultProcessBuilder(ProcessBuilder) - Constructor for class com.google.auth.oauth2.PluggableAuthHandler.DefaultProcessBuilder
- defaultRetriesEnabled - Variable in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- defaultRetriesEnabled - Variable in class com.google.auth.oauth2.ServiceAccountCredentials
- defaultScopes - Variable in class com.google.auth.oauth2.ComputeEngineCredentials.Builder
- defaultScopes - Variable in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- defaultScopes - Variable in class com.google.auth.oauth2.ServiceAccountCredentials
- delegates - Variable in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- delegates - Variable in class com.google.auth.oauth2.ImpersonatedCredentials
- delete(String) - Method in class com.google.auth.oauth2.MemoryTokensStorage
- delete(String) - Method in interface com.google.auth.oauth2.TokenStore
-
Remove the token data from storage for the given ID.
- description - Variable in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition.Builder
- description - Variable in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition
- DO_NOT_SEND - Enum constant in enum com.google.auth.CredentialTypeForMetrics
- doRefreshAccessToken() - Method in class com.google.auth.oauth2.UserCredentials
-
Does refresh access token request
- DownscopedCredentials - Class in com.google.auth.oauth2
-
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.
- DownscopedCredentials(DownscopedCredentials.Builder) - Constructor for class com.google.auth.oauth2.DownscopedCredentials
-
Internal constructor.
- DownscopedCredentials.Builder - Class in com.google.auth.oauth2
E
- e - Variable in class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader.JsonWebKey
- EMPTY_EXTRA_HEADERS - Static variable in class com.google.auth.oauth2.OAuth2Credentials
- environment() - Method in class com.google.auth.oauth2.PluggableAuthHandler.DefaultProcessBuilder
- environment() - Method in class com.google.auth.oauth2.PluggableAuthHandler.InternalProcessBuilder
- environmentProvider - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
- environmentProvider - Variable in class com.google.auth.oauth2.ExternalAccountCredentials
- environmentProvider - Variable in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- environmentProvider - Variable in class com.google.auth.oauth2.PluggableAuthHandler
- EnvironmentProvider - Interface in com.google.auth.oauth2
-
Interface for an environment provider.
- equals(Object) - Method in class com.google.auth.oauth2.AccessToken
- equals(Object) - Method in class com.google.auth.oauth2.AppEngineCredentials
- equals(Object) - Method in class com.google.auth.oauth2.AutoValue_JwtClaims
- equals(Object) - Method in class com.google.auth.oauth2.CloudShellCredentials
- equals(Object) - Method in class com.google.auth.oauth2.ComputeEngineCredentials
- equals(Object) - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- equals(Object) - Method in class com.google.auth.oauth2.GdchCredentials
- equals(Object) - Method in class com.google.auth.oauth2.GoogleCredentials
- equals(Object) - Method in class com.google.auth.oauth2.IdToken
- equals(Object) - Method in class com.google.auth.oauth2.IdTokenCredentials
- equals(Object) - Method in class com.google.auth.oauth2.ImpersonatedCredentials
- equals(Object) - Method in class com.google.auth.oauth2.JwtCredentials
- equals(Object) - Method in class com.google.auth.oauth2.OAuth2Credentials
- equals(Object) - Method in class com.google.auth.oauth2.OAuth2Credentials.OAuthValue
- equals(Object) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- equals(Object) - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- equals(Object) - Method in class com.google.auth.oauth2.UserCredentials
- equals(Object) - Method in exception class com.google.auth.ServiceAccountSigner.SigningException
- errorCode - Variable in class com.google.auth.oauth2.ExecutableResponse
- errorCode - Variable in exception class com.google.auth.oauth2.OAuthException
- errorDescription - Variable in exception class com.google.auth.oauth2.OAuthException
- errorMessage - Variable in class com.google.auth.oauth2.ExecutableResponse
- errorUri - Variable in exception class com.google.auth.oauth2.OAuthException
- exchangeExternalCredentialForAccessToken(StsTokenExchangeRequest) - Method in class com.google.auth.oauth2.ExternalAccountCredentials
-
Exchanges the external credential for a Google Cloud access token.
- exchangeToken() - Method in class com.google.auth.oauth2.StsRequestHandler
-
Exchanges the provided token for another type of token based on the RFC 8693 spec.
- EXECUTABLE_SOURCE_KEY - Static variable in class com.google.auth.oauth2.ExternalAccountCredentials
- EXECUTABLE_SUPPORTED_MAX_VERSION - Static variable in class com.google.auth.oauth2.PluggableAuthHandler
- executableCommand - Variable in class com.google.auth.oauth2.PluggableAuthCredentialSource
- ExecutableHandler - Interface in com.google.auth.oauth2
-
An interface for 3rd party executable handling.
- ExecutableHandler.ExecutableOptions - Interface in com.google.auth.oauth2
-
An interface for required fields needed to call 3rd party executables.
- ExecutableResponse - Class in com.google.auth.oauth2
-
Encapsulates response values for the 3rd party executable response (e.g.
- ExecutableResponse(GenericJson) - Constructor for class com.google.auth.oauth2.ExecutableResponse
- executableTimeoutMs - Variable in class com.google.auth.oauth2.PluggableAuthCredentialSource
- executeIfNew(Executor) - Method in class com.google.auth.oauth2.OAuth2Credentials.AsyncRefreshResult
- executeRequest(HttpRequest) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- EXIT_CODE_SUCCESS - Static variable in class com.google.auth.oauth2.PluggableAuthHandler
- expirationMargin - Variable in class com.google.auth.oauth2.OAuth2Credentials.Builder
- expirationMargin - Variable in class com.google.auth.oauth2.OAuth2Credentials
- expirationTime - Variable in class com.google.auth.oauth2.AccessToken.Builder
- expirationTime - Variable in class com.google.auth.oauth2.ExecutableResponse
- expirationTimeMillis - Variable in class com.google.auth.oauth2.AccessToken
- EXPIRED - Enum constant in enum com.google.auth.oauth2.OAuth2Credentials.CacheState
- expiresInSeconds - Variable in class com.google.auth.oauth2.StsTokenExchangeResponse.Builder
- expiresInSeconds - Variable in class com.google.auth.oauth2.StsTokenExchangeResponse
- expiryInSeconds - Variable in class com.google.auth.oauth2.JwtCredentials
- expression - Variable in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition.Builder
- expression - Variable in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition
- EXTERNAL_ACCOUNT_AUTHORIZED_USER_FILE_TYPE - Static variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- EXTERNAL_ACCOUNT_FILE_TYPE - Static variable in class com.google.auth.oauth2.ExternalAccountCredentials
- ExternalAccountAuthorizedUserCredentials - Class in com.google.auth.oauth2
-
OAuth2 credentials sourced using external identities through Workforce Identity Federation.
- ExternalAccountAuthorizedUserCredentials(ExternalAccountAuthorizedUserCredentials.Builder) - Constructor for class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
-
Internal constructor.
- ExternalAccountAuthorizedUserCredentials.Builder - Class in com.google.auth.oauth2
-
Builder for
ExternalAccountAuthorizedUserCredentials
. - ExternalAccountCredentials - Class in com.google.auth.oauth2
-
Base external account credentials class.
- ExternalAccountCredentials(HttpTransportFactory, String, String, String, ExternalAccountCredentials.CredentialSource, String, String, String, String, String, Collection<String>) - Constructor for class com.google.auth.oauth2.ExternalAccountCredentials
-
Constructor with minimum identifying information and custom HTTP transport.
- ExternalAccountCredentials(HttpTransportFactory, String, String, String, ExternalAccountCredentials.CredentialSource, String, String, String, String, String, Collection<String>, EnvironmentProvider) - Constructor for class com.google.auth.oauth2.ExternalAccountCredentials
-
Constructor with minimum identifying information and custom HTTP transport.
- ExternalAccountCredentials(ExternalAccountCredentials.Builder) - Constructor for class com.google.auth.oauth2.ExternalAccountCredentials
-
Internal constructor with minimum identifying information and custom HTTP transport.
- ExternalAccountCredentials.Builder - Class in com.google.auth.oauth2
-
Base builder for external account credentials.
- ExternalAccountCredentials.CredentialSource - Class in com.google.auth.oauth2
-
Base credential source class.
- ExternalAccountCredentials.ServiceAccountImpersonationOptions - Class in com.google.auth.oauth2
-
Encapsulates the service account impersonation options portion of the configuration for ExternalAccountCredentials.
- ExternalAccountCredentials.SubjectTokenTypes - Enum in com.google.auth.oauth2
-
Enum specifying values for the subjectTokenType field in
ExternalAccountCredentials
. - ExternalAccountMetricsHandler - Class in com.google.auth.oauth2
-
A handler for generating the x-goog-api-client header value for BYOID external account credentials.
- ExternalAccountMetricsHandler(ExternalAccountCredentials) - Constructor for class com.google.auth.oauth2.ExternalAccountMetricsHandler
-
Constructor for the external account metrics handler.
- ExternalAccountSupplierContext - Class in com.google.auth.oauth2
-
Context object to pass relevant variables from external account credentials to suppliers.
- ExternalAccountSupplierContext(ExternalAccountSupplierContext.Builder) - Constructor for class com.google.auth.oauth2.ExternalAccountSupplierContext
-
Internal constructor.
- ExternalAccountSupplierContext.Builder - Class in com.google.auth.oauth2
-
Builder for external account supplier context.
- extractTargetPrincipal(String) - Static method in class com.google.auth.oauth2.ImpersonatedCredentials
F
- FEDERATED_SIGNON_CERT_URL - Static variable in class com.google.auth.oauth2.TokenVerifier
- FETCH_TOKEN_ERROR - Variable in class com.google.auth.oauth2.UserAuthorizer
- FIELD_CLIENT_ID - Static variable in class com.google.auth.oauth2.ClientId
- FIELD_CLIENT_SECRET - Static variable in class com.google.auth.oauth2.ClientId
- FIELD_TYPE_INSTALLED - Static variable in class com.google.auth.oauth2.ClientId
- FIELD_TYPE_WEB - Static variable in class com.google.auth.oauth2.ClientId
- FILE - Enum constant in enum com.google.auth.oauth2.IdentityPoolCredentialSource.IdentityPoolCredentialSourceType
- FILE_METRICS_HEADER_VALUE - Static variable in class com.google.auth.oauth2.IdentityPoolCredentials
- FileIdentityPoolSubjectTokenSupplier - Class in com.google.auth.oauth2
-
Internal provider for retrieving subject tokens for
IdentityPoolCredentials
to exchange for GCP access tokens via a local file. - FileIdentityPoolSubjectTokenSupplier(IdentityPoolCredentialSource) - Constructor for class com.google.auth.oauth2.FileIdentityPoolSubjectTokenSupplier
-
Constructor for FileIdentitySubjectTokenProvider
- finishRefreshAsync(ListenableFuture<OAuth2Credentials.OAuthValue>) - Method in class com.google.auth.oauth2.OAuth2Credentials
-
Async callback for committing the result from a token refresh.
- FORMAT_FULL - Enum constant in enum com.google.auth.oauth2.IdTokenProvider.Option
- formatTokenHeaderForSts(String, String) - Static method in class com.google.auth.oauth2.AwsCredentials
- forName(String) - Method in class com.google.auth.oauth2.AppEngineCredentials
- forName(String) - Method in class com.google.auth.oauth2.DefaultCredentialsProvider
- FRESH - Enum constant in enum com.google.auth.oauth2.OAuth2Credentials.CacheState
- fromDateHeader(String) - Static method in class com.google.auth.oauth2.AwsDates
- fromJson(Map<String, Object>) - Static method in class com.google.auth.oauth2.ClientId
-
Constructs a Client ID from JSON from a downloaded file.
- fromJson(Map<String, Object>) - Static method in class com.google.auth.oauth2.GdchCredentials
-
Create GDCH service account credentials defined by JSON.
- fromJson(Map<String, Object>) - Static method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
-
Returns service account credentials defined by JSON using the format supported by the Google Developers Console.
- fromJson(Map<String, Object>, HttpTransportFactory) - Static method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
-
Returns external account authorized user credentials defined by JSON contents using the format supported by the Cloud SDK.
- fromJson(Map<String, Object>, HttpTransportFactory) - Static method in class com.google.auth.oauth2.ExternalAccountCredentials
-
Returns external account credentials defined by JSON using the format generated by gCloud.
- fromJson(Map<String, Object>, HttpTransportFactory) - Static method in class com.google.auth.oauth2.GdchCredentials
-
Create GDCH service account credentials defined by JSON.
- fromJson(Map<String, Object>, HttpTransportFactory) - Static method in class com.google.auth.oauth2.ImpersonatedCredentials
-
Returns impersonation account credentials defined by JSON using the format generated by gCloud.
- fromJson(Map<String, Object>, HttpTransportFactory) - Static method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Returns service account credentials defined by JSON using the format supported by the Google Developers Console.
- fromJson(Map<String, Object>, HttpTransportFactory) - Static method in class com.google.auth.oauth2.UserCredentials
-
Returns user credentials defined by JSON contents using the format supported by the Cloud SDK.
- fromJson(Map<String, Object>, URI) - Static method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
-
Returns service account credentials defined by JSON using the format supported by the Google Developers Console.
- fromPkcs8(String, GdchCredentials.Builder) - Static method in class com.google.auth.oauth2.GdchCredentials
-
Internal constructor.
- fromPkcs8(String, ServiceAccountCredentials.Builder) - Static method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Internal constructor
- fromPkcs8(String, String, String, String) - Static method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
-
Factory using PKCS#8 for the private key.
- fromPkcs8(String, String, String, String, URI) - Static method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
-
Factory using PKCS#8 for the private key.
- fromPkcs8(String, String, String, String, URI, String) - Static method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- fromPkcs8(String, String, String, String, Collection<String>) - Static method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Factory with minimum identifying information using PKCS#8 for the private key.
- fromPkcs8(String, String, String, String, Collection<String>, HttpTransportFactory, URI) - Static method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Factory with minimum identifying information and custom transport using PKCS#8 for the private key.
- fromPkcs8(String, String, String, String, Collection<String>, HttpTransportFactory, URI, String) - Static method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Factory with minimum identifying information and custom transport using PKCS#8 for the private key.
- fromPkcs8(String, String, String, String, Collection<String>, Collection<String>) - Static method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Factory with minimum identifying information using PKCS#8 for the private key.
- fromPkcs8(String, String, String, String, Collection<String>, Collection<String>, HttpTransportFactory, URI) - Static method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Factory with minimum identifying information and custom transport using PKCS#8 for the private key.
- fromPkcs8(String, String, String, String, Collection<String>, Collection<String>, HttpTransportFactory, URI, String) - Static method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Factory with minimum identifying information and custom transport using PKCS#8 for the private key.
- fromResource(Class<?>, String) - Static method in class com.google.auth.oauth2.ClientId
-
Constructs a Client ID from JSON file stored as a resource.
- fromStream(InputStream) - Static method in class com.google.auth.oauth2.ClientId
-
Constructs a Client ID from JSON file stream.
- fromStream(InputStream) - Static method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
-
Returns external account authorized user credentials defined by a JSON file stream.
- fromStream(InputStream) - Static method in class com.google.auth.oauth2.ExternalAccountCredentials
-
Returns credentials defined by a JSON file stream.
- fromStream(InputStream) - Static method in class com.google.auth.oauth2.GoogleCredentials
-
Returns credentials defined by a JSON file stream.
- fromStream(InputStream) - Static method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Returns credentials defined by a Service Account key file in JSON format from the Google Developers Console.
- fromStream(InputStream) - Static method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
-
Returns credentials defined by a Service Account key file in JSON format from the Google Developers Console.
- fromStream(InputStream) - Static method in class com.google.auth.oauth2.UserCredentials
-
Returns credentials defined by a JSON file stream using the format supported by the Cloud SDK.
- fromStream(InputStream, HttpTransportFactory) - Static method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
-
Returns external account authorized user credentials defined by a JSON file stream.
- fromStream(InputStream, HttpTransportFactory) - Static method in class com.google.auth.oauth2.ExternalAccountCredentials
-
Returns credentials defined by a JSON file stream.
- fromStream(InputStream, HttpTransportFactory) - Static method in class com.google.auth.oauth2.GoogleCredentials
-
Returns credentials defined by a JSON file stream.
- fromStream(InputStream, HttpTransportFactory) - Static method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Returns credentials defined by a Service Account key file in JSON format from the Google Developers Console.
- fromStream(InputStream, HttpTransportFactory) - Static method in class com.google.auth.oauth2.UserCredentials
-
Returns credentials defined by a JSON file stream using the format supported by the Cloud SDK.
- fromStream(InputStream, URI) - Static method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
-
Returns credentials defined by a Service Account key file in JSON format from the Google Developers Console.
- fromXAmzDate(String) - Static method in class com.google.auth.oauth2.AwsDates
- FutureCallbackToMetadataCallbackAdapter(RequestMetadataCallback) - Constructor for class com.google.auth.oauth2.OAuth2Credentials.FutureCallbackToMetadataCallbackAdapter
G
- GAE_RUNTIME_VERSION - Static variable in class com.google.auth.oauth2.DefaultCredentialsProvider
- GCE_METADATA_HOST_ENV_VAR - Static variable in class com.google.auth.oauth2.DefaultCredentialsProvider
- GDCH_SERVICE_ACCOUNT_FILE_TYPE - Static variable in class com.google.auth.oauth2.GoogleCredentials
- GdchCredentials - Class in com.google.auth.oauth2
- GdchCredentials(GdchCredentials.Builder) - Constructor for class com.google.auth.oauth2.GdchCredentials
-
Internal constructor.
- GdchCredentials.Builder - Class in com.google.auth.oauth2
- GdchCredentials.TransportFactoryForGdch - Class in com.google.auth.oauth2
- generateAuthorizationHeader(List<String>, String, String, String) - Method in class com.google.auth.oauth2.AwsRequestSigner
-
Task 4: Format the signature to be added to the HTTP request.
- generateBasicAuthHeader(String, String) - Static method in class com.google.auth.oauth2.OAuth2Utils
-
Generates a Basic Authentication header string for the provided username and password.
- generateXAmzDate() - Static method in class com.google.auth.oauth2.AwsDates
- GET_ACCESS_TOKEN_METHOD - Static variable in class com.google.auth.oauth2.AppEngineCredentials
- GET_ACCESS_TOKEN_RESULT_CLASS - Static variable in class com.google.auth.oauth2.AppEngineCredentials
- GET_ACCESS_TOKEN_RESULT_METHOD - Static variable in class com.google.auth.oauth2.AppEngineCredentials
- GET_APP_IDENTITY_SERVICE_METHOD - Static variable in class com.google.auth.oauth2.AppEngineCredentials
- GET_AUTH_TOKEN_REQUEST - Static variable in class com.google.auth.oauth2.CloudShellCredentials
-
The Cloud Shell back authorization channel uses serialized Javascript Protobuffers, preceded by the message length and a new line character.
- GET_AUTH_TOKEN_REQUEST_BYTES - Static variable in class com.google.auth.oauth2.CloudShellCredentials
- GET_EXPIRATION_TIME_METHOD - Static variable in class com.google.auth.oauth2.AppEngineCredentials
- GET_SERVICE_ACCOUNT_NAME_METHOD - Static variable in class com.google.auth.oauth2.AppEngineCredentials
- GET_SIGNATURE_METHOD - Static variable in class com.google.auth.oauth2.AppEngineCredentials
- getAccessBoundaryRules() - Method in class com.google.auth.oauth2.CredentialAccessBoundary
- getAccessKeyId() - Method in class com.google.auth.oauth2.AwsSecurityCredentials
-
Gets the AWS access key id.
- getAccessToken - Variable in class com.google.auth.oauth2.AppEngineCredentials
- getAccessToken() - Method in class com.google.auth.oauth2.OAuth2Credentials.Builder
- getAccessToken() - Method in class com.google.auth.oauth2.OAuth2Credentials
-
Returns the cached access token.
- getAccessToken() - Method in class com.google.auth.oauth2.StsTokenExchangeResponse
- getAccessToken() - Method in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig
-
Returns the access token obtained from the token exchange.
- getAccessTokenResult - Variable in class com.google.auth.oauth2.AppEngineCredentials
- getAccount() - Method in class com.google.auth.oauth2.AppEngineCredentials
- getAccount() - Method in class com.google.auth.oauth2.ComputeEngineCredentials
-
Returns the email address associated with the GCE default service account.
- getAccount() - Method in class com.google.auth.oauth2.ImpersonatedCredentials
-
Returns the email field of the serviceAccount that is being impersonated.
- getAccount() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- getAccount() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- getAccount() - Method in interface com.google.auth.ServiceAccountSigner
-
Returns the service account associated with the signer.
- getActingParty() - Method in class com.google.auth.oauth2.StsTokenExchangeRequest
- getActorToken() - Method in class com.google.auth.oauth2.ActingParty
- getActorTokenType() - Method in class com.google.auth.oauth2.ActingParty
- getAdditionalClaims() - Method in class com.google.auth.oauth2.AutoValue_JwtClaims
- getAdditionalClaims() - Method in class com.google.auth.oauth2.JwtClaims
-
Returns additional claims for this object.
- getAdditionalHeaders() - Method in class com.google.auth.oauth2.GoogleCredentials
- getAdditionalHeaders() - Method in class com.google.auth.oauth2.OAuth2Credentials
-
Provide additional headers to return as request metadata.
- getAndStoreCredentialsFromCode(String, String, URI) - Method in class com.google.auth.oauth2.UserAuthorizer
-
Exchanges an authorization code for tokens and stores them.
- getApiAudience() - Method in class com.google.auth.oauth2.GdchCredentials
- getApplicationDefault() - Static method in class com.google.auth.oauth2.GoogleCredentials
-
Returns the Application Default Credentials.
- getApplicationDefault(HttpTransportFactory) - Static method in class com.google.auth.oauth2.GoogleCredentials
-
Returns the Application Default Credentials.
- getAudience() - Method in class com.google.auth.oauth2.AutoValue_JwtClaims
- getAudience() - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- getAudience() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- getAudience() - Method in class com.google.auth.oauth2.ExternalAccountSupplierContext
-
Returns the credentials' expected audience.
- getAudience() - Method in class com.google.auth.oauth2.JwtClaims
- getAudience() - Method in class com.google.auth.oauth2.StsTokenExchangeRequest
- getAuthenticationType() - Method in class com.google.auth.ApiKeyCredentials
- getAuthenticationType() - Method in class com.google.auth.Credentials
-
A constant string name describing the authentication technology.
- getAuthenticationType() - Method in class com.google.auth.oauth2.JwtCredentials
- getAuthenticationType() - Method in class com.google.auth.oauth2.OAuth2Credentials
- getAuthenticationType() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- getAuthLibraryVersion() - Static method in class com.google.auth.oauth2.MetricsUtils
- getAuthorizationHeader() - Method in class com.google.auth.oauth2.AwsRequestSignature
-
Returns the authorization header.
- getAuthorizationUrl(String, String, URI) - Method in class com.google.auth.oauth2.UserAuthorizer
-
Return a URL that performs the authorization consent prompt web UI.
- getAuthorizationUrl(String, String, URI, Map<String, String>) - Method in class com.google.auth.oauth2.UserAuthorizer
-
Return a URL that performs the authorization consent prompt web UI.
- getAuthPort() - Method in class com.google.auth.oauth2.CloudShellCredentials.Builder
- getAuthPort() - Method in class com.google.auth.oauth2.CloudShellCredentials
- getAvailabilityCondition() - Method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule
- getAvailablePermissions() - Method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule
- getAvailableResource() - Method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule
- getAwsSecurityCredentialsSupplier() - Method in class com.google.auth.oauth2.AwsCredentials
- getCaCertPath() - Method in class com.google.auth.oauth2.GdchCredentials.Builder
- getCaCertPath() - Method in class com.google.auth.oauth2.GdchCredentials
- getCachedExecutableResponse(ExecutableHandler.ExecutableOptions) - Method in class com.google.auth.oauth2.PluggableAuthHandler
- getCalendar() - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- getCallbackUri() - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
- getCallbackUri() - Method in class com.google.auth.oauth2.UserAuthorizer
-
Returns the URI for implementation of the OAuth2 web callback.
- getCallbackUri(URI) - Method in class com.google.auth.oauth2.UserAuthorizer
-
Returns the URI for implementation of the OAuth2 web callback, optionally relative to the specified URI.
- getCanonicalHeaders() - Method in class com.google.auth.oauth2.AwsRequestSignature
-
Returns the HTTP request canonical headers.
- getCanonicalHeaders(String) - Method in class com.google.auth.oauth2.AwsRequestSigner
- getCertificateLocation(JsonWebSignature) - Method in class com.google.auth.oauth2.TokenVerifier
- getClientAuthenticationType() - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
- getClientAuthenticationType() - Method in class com.google.auth.oauth2.UserAuthorizer
-
Returns the client authentication type as defined in RFC 7591.
- getClientEmail() - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- getClientEmail() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- getClientEmail() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- getClientEmail() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- getClientId() - Method in class com.google.auth.oauth2.ClientId
-
Returns the text identifier of the Client ID.
- getClientId() - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- getClientId() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- getClientId() - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- getClientId() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- getClientId() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- getClientId() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- getClientId() - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
- getClientId() - Method in class com.google.auth.oauth2.UserAuthorizer
-
Returns the Client ID user to identify the OAuth2 consent prompt.
- getClientId() - Method in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig
-
Returns the OAuth 2.0 client ID used.
- getClientId() - Method in class com.google.auth.oauth2.UserCredentials.Builder
- getClientId() - Method in class com.google.auth.oauth2.UserCredentials
-
Returns client ID of the credential from the console.
- getClientSecret() - Method in class com.google.auth.oauth2.ClientId.Builder
- getClientSecret() - Method in class com.google.auth.oauth2.ClientId
-
Returns the secret associated with the Client ID.
- getClientSecret() - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- getClientSecret() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- getClientSecret() - Method in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig
-
Returns the OAuth 2.0 client secret used.
- getClientSecret() - Method in class com.google.auth.oauth2.UserCredentials.Builder
- getClientSecret() - Method in class com.google.auth.oauth2.UserCredentials
-
Returns client secret of the credential from the console.
- getClock() - Method in class com.google.auth.oauth2.JwtCredentials.Builder
- getClock() - Method in class com.google.auth.oauth2.JwtCredentials
- getCodeChallenge() - Method in class com.google.auth.oauth2.DefaultPKCEProvider.CodeChallenge
- getCodeChallenge() - Method in class com.google.auth.oauth2.DefaultPKCEProvider
- getCodeChallenge() - Method in interface com.google.auth.oauth2.PKCEProvider
-
Get the code_challenge parameter used in PKCE.
- getCodeChallengeMethod() - Method in class com.google.auth.oauth2.DefaultPKCEProvider.CodeChallenge
- getCodeChallengeMethod() - Method in class com.google.auth.oauth2.DefaultPKCEProvider
- getCodeChallengeMethod() - Method in interface com.google.auth.oauth2.PKCEProvider
-
Get the code_challenge_method parameter used in PKCE.
- getCodeVerifier() - Method in class com.google.auth.oauth2.DefaultPKCEProvider
- getCodeVerifier() - Method in interface com.google.auth.oauth2.PKCEProvider
-
Get the code_verifier parameter used in PKCE.
- getCommand() - Method in class com.google.auth.oauth2.PluggableAuthCredentialSource
- getConfig() - Method in class com.google.auth.oauth2.SecureSessionAgent
-
This method makes a network call to MDS to get the
SecureSessionAgentConfig
which contains the plaintext and mtls address to reach the S2A (Secure Session Agent). - getCredentialAccessBoundary() - Method in class com.google.auth.oauth2.DownscopedCredentials
- getCredentials() - Method in class com.google.auth.http.HttpCredentialsAdapter
-
A getter for the credentials instance being used
- getCredentials(ExternalAccountSupplierContext) - Method in interface com.google.auth.oauth2.AwsSecurityCredentialsSupplier
-
Gets AWS security credentials.
- getCredentials(ExternalAccountSupplierContext) - Method in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- getCredentials(String) - Method in class com.google.auth.oauth2.UserAuthorizer
-
Attempts to retrieve credentials for the approved end user consent.
- getCredentialScope() - Method in class com.google.auth.oauth2.AwsRequestSignature
-
Returns the credential scope.
- getCredentialsFromCode(String, URI) - Method in class com.google.auth.oauth2.UserAuthorizer
-
Returns a UserCredentials instance by exchanging an OAuth2 authorization code for tokens.
- getCredentialsFromCode(String, URI, Map<String, String>) - Method in class com.google.auth.oauth2.UserAuthorizer
-
Returns a UserCredentials instance by exchanging an OAuth2 authorization code for tokens.
- getCredentialsFromCodeInternal(String, URI, Map<String, String>) - Method in class com.google.auth.oauth2.UserAuthorizer
- getCredentialSource() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- getCredentialSourceType() - Method in class com.google.auth.oauth2.AwsCredentials
- getCredentialSourceType() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- getCredentialSourceType() - Method in class com.google.auth.oauth2.IdentityPoolCredentials
- getCredentialSourceType() - Method in class com.google.auth.oauth2.PluggableAuthCredentials
- getDate() - Method in class com.google.auth.oauth2.AwsRequestSignature
-
Returns the request date.
- getDefaultAudience() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- getDefaultCredentials(HttpTransportFactory) - Method in class com.google.auth.oauth2.DefaultCredentialsProvider
-
Returns the Application Default Credentials.
- getDefaultCredentialsUnsynchronized(HttpTransportFactory) - Method in class com.google.auth.oauth2.DefaultCredentialsProvider
- getDefaultScopes() - Method in class com.google.auth.oauth2.ComputeEngineCredentials.Builder
- getDefaultScopes() - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- getDefaultScopes() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- getDefaultServiceAccount() - Method in class com.google.auth.oauth2.ComputeEngineCredentials
- getDelegates() - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- getDelegates() - Method in class com.google.auth.oauth2.ImpersonatedCredentials
- getDescription() - Method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition
- getEnv(String) - Method in class com.google.auth.oauth2.AwsCredentials
- getEnv(String) - Method in class com.google.auth.oauth2.DefaultCredentialsProvider
- getEnv(String) - Method in interface com.google.auth.oauth2.EnvironmentProvider
- getEnv(String) - Method in class com.google.auth.oauth2.SystemEnvironmentProvider
- getEnvironmentMap() - Method in interface com.google.auth.oauth2.ExecutableHandler.ExecutableOptions
-
A set of process-local environment variable mappings to be set for the script to execute.
- getEnvironmentProvider() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- getErrorCode() - Method in class com.google.auth.oauth2.ExecutableResponse
-
Returns the error code if the execution was unsuccessful, null otherwise.
- getErrorCode() - Method in exception class com.google.auth.oauth2.OAuthException
- getErrorDescription() - Method in exception class com.google.auth.oauth2.OAuthException
- getErrorMessage() - Method in class com.google.auth.oauth2.ExecutableResponse
-
Returns the error message if the execution was unsuccessful, null otherwise.
- getErrorUri() - Method in exception class com.google.auth.oauth2.OAuthException
- getExecutableCommand() - Method in interface com.google.auth.oauth2.ExecutableHandler.ExecutableOptions
-
An absolute path to the command used to retrieve 3rd party tokens.
- getExecutableHandler() - Method in class com.google.auth.oauth2.PluggableAuthCredentials
- getExecutableResponse(ExecutableHandler.ExecutableOptions) - Method in class com.google.auth.oauth2.PluggableAuthHandler
- getExecutableTimeoutMs() - Method in interface com.google.auth.oauth2.ExecutableHandler.ExecutableOptions
-
A timeout for waiting for the executable to finish, in milliseconds.
- getExpirationMargin() - Method in class com.google.auth.oauth2.OAuth2Credentials.Builder
- getExpirationMargin() - Method in class com.google.auth.oauth2.OAuth2Credentials
-
Returns the credentials' expiration margin.
- getExpirationTime - Variable in class com.google.auth.oauth2.AppEngineCredentials
- getExpirationTime() - Method in class com.google.auth.oauth2.AccessToken.Builder
- getExpirationTime() - Method in class com.google.auth.oauth2.AccessToken
-
Time when access token will expire.
- getExpirationTime() - Method in class com.google.auth.oauth2.ExecutableResponse
-
Returns the subject token expiration time in seconds (Unix epoch time).
- getExpirationTimeMillis() - Method in class com.google.auth.oauth2.AccessToken
- getExpiresInSeconds() - Method in class com.google.auth.oauth2.StsTokenExchangeResponse
- getExpression() - Method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition
- getExternalAccountMetricsHeader() - Method in class com.google.auth.oauth2.ExternalAccountMetricsHandler
-
Gets the external account metrics header value for the x-goog-api-client header.
- getFormattedDate() - Method in class com.google.auth.oauth2.AwsDates
-
Returns the x-amz-date in YYYYMMDD format.
- getFromServiceLoader(Class<? extends T>, T) - Static method in class com.google.auth.oauth2.OAuth2Credentials
- getGoogleCredentialsMetricsHeader(MetricsUtils.RequestType, CredentialTypeForMetrics) - Static method in class com.google.auth.oauth2.MetricsUtils
-
Formulates metrics header string.
- getGrantType() - Method in class com.google.auth.oauth2.StsTokenExchangeRequest
- getHexEncodedSha256Hash(byte[]) - Static method in class com.google.auth.oauth2.AwsRequestSigner
- getHttpMethod() - Method in class com.google.auth.oauth2.AwsRequestSignature
-
Returns the HTTP request method.
- getHttpTransportFactory() - Method in class com.google.auth.oauth2.ComputeEngineCredentials.Builder
- getHttpTransportFactory() - Method in class com.google.auth.oauth2.GdchCredentials.Builder
- getHttpTransportFactory() - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- getHttpTransportFactory() - Method in class com.google.auth.oauth2.SecureSessionAgent.Builder
- getHttpTransportFactory() - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- getHttpTransportFactory() - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
- getHttpTransportFactory() - Method in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig
-
Returns the HTTP transport factory used.
- getHttpTransportFactory() - Method in class com.google.auth.oauth2.UserCredentials.Builder
- getIamEndpointOverride() - Method in class com.google.auth.oauth2.ImpersonatedCredentials
- getIdentityDocumentUrl() - Static method in class com.google.auth.oauth2.ComputeEngineCredentials
- getIdentityPoolSubjectTokenSupplier() - Method in class com.google.auth.oauth2.IdentityPoolCredentials
- getIdToken() - Method in class com.google.auth.oauth2.IdTokenCredentials
- getIdToken(String, Credentials, HttpTransport, String, boolean, Map<String, ?>, CredentialTypeForMetrics) - Static method in class com.google.auth.oauth2.IamUtils
-
Returns an IdToken issued to the serviceAccount with a specified targetAudience
- getIdTokenIamEndpoint(String) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Use IAM generateIdToken endpoint to obtain an ID token.
- getIdTokenOauthEndpoint(String) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Uses the Oauth Endpoint to generate an ID token.
- getIdTokenProvider() - Method in class com.google.auth.oauth2.IdTokenCredentials.Builder
- getInstance() - Static method in class com.google.auth.oauth2.SystemEnvironmentProvider
- getInternalOptions() - Method in class com.google.auth.oauth2.StsTokenExchangeRequest
- getIssuedTokenType() - Method in class com.google.auth.oauth2.StsTokenExchangeResponse
- getIssuer() - Method in class com.google.auth.oauth2.AutoValue_JwtClaims
- getIssuer() - Method in class com.google.auth.oauth2.JwtClaims
- getIssuer() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- getIssuerSubjectValue(String, String) - Static method in class com.google.auth.oauth2.GdchCredentials
-
Get the issuer and subject value in the format GDCH token server required.
- getJsonWebSignature() - Method in class com.google.auth.oauth2.IdToken
-
The JsonWebSignature as object
- getJwtClaims() - Method in class com.google.auth.oauth2.JwtCredentials.Builder
- getLabel() - Method in enum com.google.auth.CredentialTypeForMetrics
- getLabel() - Method in enum com.google.auth.oauth2.MetricsUtils.RequestType
- getLanguageAndAuthLibraryVersions() - Static method in class com.google.auth.oauth2.MetricsUtils
-
Gets the x-goog-api-client header value for the current Java language version and the auth library version.
- getLifeSpanSeconds() - Method in class com.google.auth.oauth2.JwtCredentials.Builder
- getLifetime() - Method in class com.google.auth.oauth2.ExternalAccountCredentials.ServiceAccountImpersonationOptions
- getLifetime() - Method in class com.google.auth.oauth2.GdchCredentials.Builder
- getLifetime() - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- getLifetime() - Method in class com.google.auth.oauth2.ImpersonatedCredentials
- getLifetime() - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- getLifetime() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- getMessage() - Method in exception class com.google.auth.oauth2.OAuthException
- getMessage() - Method in exception class com.google.auth.oauth2.PluggableAuthException
-
The message with format: Error code {errorCode}: {errorDescription}.
- getMetadataResponse(String, MetricsUtils.RequestType, boolean) - Method in class com.google.auth.oauth2.ComputeEngineCredentials
- getMetadataServerUrl() - Static method in class com.google.auth.oauth2.ComputeEngineCredentials
- getMetadataServerUrl(DefaultCredentialsProvider) - Static method in class com.google.auth.oauth2.ComputeEngineCredentials
- getMetricsCredentialType() - Method in class com.google.auth.Credentials
-
Gets the credential type used for internal metrics header.
- getMetricsCredentialType() - Method in class com.google.auth.oauth2.ComputeEngineCredentials
- getMetricsCredentialType() - Method in class com.google.auth.oauth2.ImpersonatedCredentials
- getMetricsCredentialType() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- getMetricsCredentialType() - Method in class com.google.auth.oauth2.UserCredentials
- getMtlsAddress() - Method in class com.google.auth.oauth2.SecureSessionAgentConfig
- getOption() - Method in enum com.google.auth.oauth2.IdTokenProvider.Option
- getOptions() - Method in class com.google.auth.oauth2.IdTokenCredentials.Builder
- getOrCreateRefreshTask() - Method in class com.google.auth.oauth2.OAuth2Credentials
-
Atomically creates a single flight refresh token task.
- getOriginalDate() - Method in class com.google.auth.oauth2.AwsDates
-
Returns the original date.
- getOsName() - Method in class com.google.auth.oauth2.DefaultCredentialsProvider
- getOutputFilePath() - Method in interface com.google.auth.oauth2.ExecutableHandler.ExecutableOptions
-
An output file path which points to the 3rd party credentials generated by the executable.
- getOutputFilePath() - Method in class com.google.auth.oauth2.PluggableAuthCredentialSource
- getPKCEProvider() - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
- getPlaintextAddress() - Method in class com.google.auth.oauth2.SecureSessionAgentConfig
- getPrivateKey() - Method in class com.google.auth.oauth2.GdchCredentials.Builder
- getPrivateKey() - Method in class com.google.auth.oauth2.GdchCredentials
- getPrivateKey() - Method in class com.google.auth.oauth2.JwtCredentials.Builder
- getPrivateKey() - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- getPrivateKey() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- getPrivateKey() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- getPrivateKey() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- getPrivateKeyId() - Method in class com.google.auth.oauth2.GdchCredentials.Builder
- getPrivateKeyId() - Method in class com.google.auth.oauth2.GdchCredentials
- getPrivateKeyId() - Method in class com.google.auth.oauth2.JwtCredentials.Builder
- getPrivateKeyId() - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- getPrivateKeyId() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- getPrivateKeyId() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- getPrivateKeyId() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- getProcessBuilder(List<String>) - Method in class com.google.auth.oauth2.PluggableAuthHandler
- getProjectId() - Method in class com.google.auth.oauth2.GdchCredentials.Builder
- getProjectId() - Method in class com.google.auth.oauth2.GdchCredentials
- getProjectId() - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- getProjectId() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- getProperty(String, String) - Method in class com.google.auth.oauth2.DefaultCredentialsProvider
- getQuotaProjectId() - Method in class com.google.auth.oauth2.GoogleCredentials.Builder
- getQuotaProjectId() - Method in class com.google.auth.oauth2.GoogleCredentials
- getQuotaProjectId() - Method in interface com.google.auth.oauth2.QuotaProjectIdProvider
- getQuotaProjectId() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- getQuotaProjectId() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- getRefreshHandler() - Method in class com.google.auth.oauth2.OAuth2CredentialsWithRefresh
-
Returns the provided
OAuth2CredentialsWithRefresh.OAuth2RefreshHandler
. - getRefreshMargin() - Method in class com.google.auth.oauth2.OAuth2Credentials.Builder
- getRefreshMargin() - Method in class com.google.auth.oauth2.OAuth2Credentials
-
Returns the credentials' refresh margin.
- getRefreshToken() - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- getRefreshToken() - Method in class com.google.auth.oauth2.StsTokenExchangeResponse
- getRefreshToken() - Method in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig
-
Returns the refresh token obtained from the token exchange, if available.
- getRefreshToken() - Method in class com.google.auth.oauth2.UserCredentials.Builder
- getRefreshToken() - Method in class com.google.auth.oauth2.UserCredentials
-
Returns the refresh token resulting from a OAuth2 consent flow.
- getRegion() - Method in class com.google.auth.oauth2.AwsRequestSignature
-
Returns the targeted region.
- getRegion(ExternalAccountSupplierContext) - Method in interface com.google.auth.oauth2.AwsSecurityCredentialsSupplier
-
Gets the AWS region to use.
- getRegion(ExternalAccountSupplierContext) - Method in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- getRegionalCredentialVerificationUrl() - Method in class com.google.auth.oauth2.AwsCredentials
- getRegionalCredentialVerificationUrlOverride() - Method in class com.google.auth.oauth2.AwsCredentials
- getRequestedTokenType() - Method in class com.google.auth.oauth2.StsTokenExchangeRequest
- getRequestMetadata() - Method in class com.google.auth.Credentials
-
Get the current request metadata, refreshing tokens if required.
- getRequestMetadata(URI) - Method in class com.google.auth.ApiKeyCredentials
- getRequestMetadata(URI) - Method in class com.google.auth.Credentials
-
Get the current request metadata in a blocking manner, refreshing tokens if required.
- getRequestMetadata(URI) - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- getRequestMetadata(URI) - Method in class com.google.auth.oauth2.JwtCredentials
- getRequestMetadata(URI) - Method in class com.google.auth.oauth2.OAuth2Credentials
-
Provide the request metadata by ensuring there is a current access token and providing it as an authorization bearer token.
- getRequestMetadata(URI) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Provide the request metadata by putting an access JWT directly in the metadata.
- getRequestMetadata(URI) - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
-
Provide the request metadata by putting an access JWT directly in the metadata.
- getRequestMetadata(URI, Executor, RequestMetadataCallback) - Method in class com.google.auth.Credentials
-
Get the current request metadata without blocking.
- getRequestMetadata(URI, Executor, RequestMetadataCallback) - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- getRequestMetadata(URI, Executor, RequestMetadataCallback) - Method in class com.google.auth.oauth2.OAuth2Credentials
- getRequestMetadata(URI, Executor, RequestMetadataCallback) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- getRequestMetadata(URI, Executor, RequestMetadataCallback) - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- getRequestMetadataForGdu(URI) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- getRequestMetadataForNonGdu(URI) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- getRequestMetadataInternal() - Method in class com.google.auth.oauth2.OAuth2Credentials
- getRequestMetadataWithSelfSignedJwt(URI) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Provide the access JWT for scopes if provided, for uri as aud otherwise
- getResource() - Method in class com.google.auth.oauth2.StsTokenExchangeRequest
- getRetryCount() - Method in exception class com.google.auth.oauth2.GoogleAuthException
-
Returns number of reties performed for the related HTTP request
- getRetryCount() - Method in interface com.google.auth.Retryable
-
Gets a number of performed retries for related HttpRequest
- getRevokeUrl() - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- getScopes() - Method in class com.google.auth.oauth2.AccessToken.Builder
- getScopes() - Method in class com.google.auth.oauth2.AccessToken
-
Scopes from the access token response.
- getScopes() - Method in class com.google.auth.oauth2.ComputeEngineCredentials.Builder
- getScopes() - Method in class com.google.auth.oauth2.ComputeEngineCredentials
- getScopes() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- getScopes() - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- getScopes() - Method in class com.google.auth.oauth2.ImpersonatedCredentials
- getScopes() - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- getScopes() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- getScopes() - Method in class com.google.auth.oauth2.StsTokenExchangeRequest
- getScopes() - Method in class com.google.auth.oauth2.StsTokenExchangeResponse
- getScopes() - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
- getScopes() - Method in class com.google.auth.oauth2.UserAuthorizer
-
Returns the scopes defining the user consent.
- getSecretAccessKey() - Method in class com.google.auth.oauth2.AwsSecurityCredentials
-
Gets the AWS secret access key.
- getSecureSessionAgentConfigFromMDS() - Method in class com.google.auth.oauth2.SecureSessionAgent
-
Queries the MDS mTLS Autoconfiguration endpoint and returns the
SecureSessionAgentConfig
. - getSecurityCredentials() - Method in class com.google.auth.oauth2.AwsRequestSignature
-
Returns the AWS security credentials.
- getSelfSignedJwtCredentialsWithScope() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- getServiceAccountEmail() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- getServiceAccountImpersonationOptions() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- getServiceAccountImpersonationUrl() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- getServiceAccountsUrl() - Static method in class com.google.auth.oauth2.ComputeEngineCredentials
- getServiceAccountUser() - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- getServiceAccountUser() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- getServiceIdentityName() - Method in class com.google.auth.oauth2.GdchCredentials.Builder
- getServiceIdentityName() - Method in class com.google.auth.oauth2.GdchCredentials
- getSessionToken() - Method in class com.google.auth.oauth2.AwsSecurityCredentials
-
Gets the AWS session token.
- getSignature - Variable in class com.google.auth.oauth2.AppEngineCredentials
- getSignature() - Method in class com.google.auth.oauth2.AwsRequestSignature
-
Returns the request signature based on the AWS Signature Version 4 signing process.
- getSignature(String, String, Map<String, ?>, HttpRequestFactory) - Static method in class com.google.auth.oauth2.IamUtils
- getSourceCredentials() - Method in class com.google.auth.oauth2.DownscopedCredentials
- getSourceCredentials() - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- getSourceCredentials() - Method in class com.google.auth.oauth2.ImpersonatedCredentials
- getState() - Method in class com.google.auth.oauth2.OAuth2Credentials
-
Computes the effective credential state in relation to the current time.
- getSubject() - Method in class com.google.auth.oauth2.AutoValue_JwtClaims
- getSubject() - Method in class com.google.auth.oauth2.JwtClaims
- getSubjectToken() - Method in class com.google.auth.oauth2.ExecutableResponse
-
Returns the subject token if the execution was successful, null otherwise.
- getSubjectToken() - Method in class com.google.auth.oauth2.StsTokenExchangeRequest
- getSubjectToken(ExternalAccountSupplierContext) - Method in class com.google.auth.oauth2.FileIdentityPoolSubjectTokenSupplier
- getSubjectToken(ExternalAccountSupplierContext) - Method in interface com.google.auth.oauth2.IdentityPoolSubjectTokenSupplier
-
Gets a subject token that can be exchanged for a GCP access token.
- getSubjectToken(ExternalAccountSupplierContext) - Method in class com.google.auth.oauth2.UrlIdentityPoolSubjectTokenSupplier
- getSubjectTokenType() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- getSubjectTokenType() - Method in class com.google.auth.oauth2.ExternalAccountSupplierContext
-
Returns the credentials' expected Security Token Service subject token type based on the OAuth 2.0 token exchange spec.
- getSubjectTokenType() - Method in class com.google.auth.oauth2.StsTokenExchangeRequest
- getTargetAudience() - Method in class com.google.auth.oauth2.IdTokenCredentials.Builder
- getTargetPrincipal() - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- getTask() - Method in class com.google.auth.oauth2.OAuth2Credentials.RefreshTask
- getTimeoutMs() - Method in class com.google.auth.oauth2.PluggableAuthCredentialSource
- getTitle() - Method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition
- getTokenInfoUrl() - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- getTokenInfoUrl() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- getTokenResponseFromAuthCodeExchange(String, URI, Map<String, String>) - Method in class com.google.auth.oauth2.UserAuthorizer
-
Handles OAuth2 authorization code exchange and returns a
UserAuthorizer.TokenResponseWithConfig
object containing the tokens and configuration details. - getTokenServerEncodedUrl() - Static method in class com.google.auth.oauth2.ComputeEngineCredentials
- getTokenServerEncodedUrl(DefaultCredentialsProvider) - Static method in class com.google.auth.oauth2.ComputeEngineCredentials
- getTokenServerUri() - Method in class com.google.auth.oauth2.GdchCredentials.Builder
- getTokenServerUri() - Method in class com.google.auth.oauth2.GdchCredentials
- getTokenServerUri() - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- getTokenServerUri() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- getTokenServerUri() - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
- getTokenServerUri() - Method in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig
-
Returns the URI of the token server used.
- getTokenServerUri() - Method in class com.google.auth.oauth2.UserCredentials.Builder
- getTokenStore() - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
- getTokenStore() - Method in class com.google.auth.oauth2.UserAuthorizer
-
Returns the implementation of a component for long term storage of tokens.
- getTokenType() - Method in class com.google.auth.oauth2.ExecutableResponse
-
Returns the 3rd party subject token type.
- getTokenType() - Method in class com.google.auth.oauth2.StsTokenExchangeResponse
- getTokenUrl() - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- getTokenUrl() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- getTokenValue() - Method in class com.google.auth.oauth2.AccessToken.Builder
- getTokenValue() - Method in class com.google.auth.oauth2.AccessToken
-
String representation of the access token.
- getTransportFactory() - Method in class com.google.auth.oauth2.DownscopedCredentials
- getTransportFactory() - Method in class com.google.auth.oauth2.GdchCredentials
- getUniverseDomain() - Method in class com.google.auth.Credentials
-
Gets the universe domain for the credential in a blocking manner, refreshing tokens if required.
- getUniverseDomain() - Method in class com.google.auth.oauth2.ComputeEngineCredentials
-
Gets the universe domain from the GCE metadata server.
- getUniverseDomain() - Method in class com.google.auth.oauth2.DownscopedCredentials
-
Returns the universe domain for the credential.
- getUniverseDomain() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- getUniverseDomain() - Method in class com.google.auth.oauth2.GoogleCredentials.Builder
- getUniverseDomain() - Method in class com.google.auth.oauth2.GoogleCredentials
-
Gets the universe domain for the credential.
- getUniverseDomain() - Method in class com.google.auth.oauth2.ImpersonatedCredentials
-
Gets the universe domain for the credential.
- getUniverseDomainFromMetadata() - Method in class com.google.auth.oauth2.ComputeEngineCredentials
- getUniverseDomainUrl() - Static method in class com.google.auth.oauth2.ComputeEngineCredentials
- getUriForSelfSignedJWT(URI) - Static method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Self-signed JWT uses uri as audience, which should have the "https://{host}/" format.
- getUrl() - Method in class com.google.auth.oauth2.AwsRequestSignature
-
Returns the request URL.
- getUseJwtAccessWithScope() - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- getUseJwtAccessWithScope() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- getUserAuthUri() - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
- getUserCredentialsStream() - Method in class com.google.auth.oauth2.UserCredentials
-
Returns the instance of InputStream containing the following user credentials in JSON format: - RefreshToken - ClientId - ClientSecret - ServerTokenUri
- getVersion() - Method in class com.google.auth.oauth2.ExecutableResponse
-
Returns the version of the executable output.
- getWellKnownCredentialsFile() - Method in class com.google.auth.oauth2.DefaultCredentialsProvider
- getWellKnownCredentialsFile(DefaultCredentialsProvider) - Static method in class com.google.auth.oauth2.GoogleAuthUtils
-
Platform-independent logic to obtain the well-known Application Default Credentials file
- getWellKnownCredentialsPath() - Static method in class com.google.auth.oauth2.GoogleAuthUtils
-
Gets the path to the well-known Application Default Credentials file location
- getWellKnownCredentialsPath(DefaultCredentialsProvider) - Static method in class com.google.auth.oauth2.GoogleAuthUtils
-
Testing version of getWellKnownCredentialsPath() that uses a custom provider
- getWorkforcePoolUserProject() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- getXAmzDate() - Method in class com.google.auth.oauth2.AwsDates
-
Returns the x-amz-date in yyyyMMdd'T'HHmmss'Z' format.
- GOOGLE - Static variable in class com.google.auth.oauth2.ComputeEngineCredentials
- GOOGLE - Static variable in class com.google.auth.oauth2.SecureSessionAgent
- GOOGLE_DEFAULT_UNIVERSE - Static variable in class com.google.auth.Credentials
- GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES - Static variable in class com.google.auth.oauth2.PluggableAuthHandler
- GoogleAuthException - Exception Class in com.google.auth.oauth2
-
Base class for the standard Auth error response.
- GoogleAuthException() - Constructor for exception class com.google.auth.oauth2.GoogleAuthException
-
A default Constructor
- GoogleAuthException(boolean, int, String, Throwable) - Constructor for exception class com.google.auth.oauth2.GoogleAuthException
-
Constructor with all parameters
- GoogleAuthException(boolean, int, Throwable) - Constructor for exception class com.google.auth.oauth2.GoogleAuthException
-
Constructor with message defaulted to the cause
- GoogleAuthException(boolean, Throwable) - Constructor for exception class com.google.auth.oauth2.GoogleAuthException
-
Constructor without explicit retry count.
- GoogleAuthException(Throwable) - Constructor for exception class com.google.auth.oauth2.GoogleAuthException
-
Constructor without retry info
- GoogleAuthUtils - Class in com.google.auth.oauth2
-
This public class provides shared utilities for common OAuth2 utils or ADC.
- GoogleAuthUtils() - Constructor for class com.google.auth.oauth2.GoogleAuthUtils
- GoogleCredentials - Class in com.google.auth.oauth2
-
Base type for credentials for authorizing calls to Google APIs using OAuth2.
- GoogleCredentials() - Constructor for class com.google.auth.oauth2.GoogleCredentials
-
Default constructor.
- GoogleCredentials(AccessToken) - Constructor for class com.google.auth.oauth2.GoogleCredentials
-
Deprecated.
- GoogleCredentials(AccessToken, String) - Constructor for class com.google.auth.oauth2.GoogleCredentials
-
Deprecated.
- GoogleCredentials(AccessToken, Duration, Duration) - Constructor for class com.google.auth.oauth2.GoogleCredentials
-
Deprecated.
- GoogleCredentials(GoogleCredentials.Builder) - Constructor for class com.google.auth.oauth2.GoogleCredentials
-
Constructor that relies on a
GoogleCredentials.Builder
to provide all the necessary field values for initialization. - GoogleCredentials.Builder - Class in com.google.auth.oauth2
- GRANT_TYPE - Static variable in class com.google.auth.oauth2.ServiceAccountCredentials
- GRANT_TYPE - Static variable in class com.google.auth.oauth2.StsTokenExchangeRequest
- GRANT_TYPE - Static variable in class com.google.auth.oauth2.UserCredentials
- GRANT_TYPE_JWT_BEARER - Static variable in class com.google.auth.oauth2.OAuth2Utils
H
- handler - Variable in class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- handler - Variable in class com.google.auth.oauth2.PluggableAuthCredentials
- handleResponse(HttpRequest, HttpResponse, boolean) - Method in class com.google.auth.http.HttpCredentialsAdapter
- hasActingParty() - Method in class com.google.auth.oauth2.StsTokenExchangeRequest
- hasAudience() - Method in class com.google.auth.oauth2.StsTokenExchangeRequest
- hashCode() - Method in class com.google.auth.oauth2.AccessToken
- hashCode() - Method in class com.google.auth.oauth2.AppEngineCredentials
- hashCode() - Method in class com.google.auth.oauth2.AutoValue_JwtClaims
- hashCode() - Method in class com.google.auth.oauth2.CloudShellCredentials
- hashCode() - Method in class com.google.auth.oauth2.ComputeEngineCredentials
- hashCode() - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- hashCode() - Method in class com.google.auth.oauth2.GdchCredentials
- hashCode() - Method in class com.google.auth.oauth2.GoogleCredentials
- hashCode() - Method in class com.google.auth.oauth2.IdToken
- hashCode() - Method in class com.google.auth.oauth2.IdTokenCredentials
- hashCode() - Method in class com.google.auth.oauth2.ImpersonatedCredentials
- hashCode() - Method in class com.google.auth.oauth2.JwtCredentials
- hashCode() - Method in class com.google.auth.oauth2.OAuth2Credentials
- hashCode() - Method in class com.google.auth.oauth2.OAuth2Credentials.OAuthValue
- hashCode() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- hashCode() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- hashCode() - Method in class com.google.auth.oauth2.UserCredentials
- hashCode() - Method in exception class com.google.auth.ServiceAccountSigner.SigningException
- hasHeaders() - Method in class com.google.auth.oauth2.IdentityPoolCredentialSource
- HASHING_ALGORITHM - Static variable in class com.google.auth.oauth2.AwsRequestSigner
- hasRequestedTokenType() - Method in class com.google.auth.oauth2.StsTokenExchangeRequest
- hasRequestMetadata() - Method in class com.google.auth.ApiKeyCredentials
- hasRequestMetadata() - Method in class com.google.auth.Credentials
-
Whether the credentials have metadata entries that should be added to each request.
- hasRequestMetadata() - Method in class com.google.auth.oauth2.JwtCredentials
- hasRequestMetadata() - Method in class com.google.auth.oauth2.OAuth2Credentials
- hasRequestMetadata() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- hasRequestMetadataOnly() - Method in class com.google.auth.ApiKeyCredentials
- hasRequestMetadataOnly() - Method in class com.google.auth.Credentials
-
Indicates whether or not the Auth mechanism works purely by including request metadata.
- hasRequestMetadataOnly() - Method in class com.google.auth.oauth2.JwtCredentials
- hasRequestMetadataOnly() - Method in class com.google.auth.oauth2.OAuth2Credentials
- hasRequestMetadataOnly() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- hasResource() - Method in class com.google.auth.oauth2.StsTokenExchangeRequest
- hasScopes() - Method in class com.google.auth.oauth2.StsTokenExchangeRequest
- headers - Variable in class com.google.auth.oauth2.IdentityPoolCredentialSource
- headers - Variable in class com.google.auth.oauth2.StsRequestHandler.Builder
- headers - Variable in class com.google.auth.oauth2.StsRequestHandler
- headersContainValue(HttpHeaders, String, String) - Static method in class com.google.auth.oauth2.OAuth2Utils
-
Returns whether the headers contain the specified value as one of the entries in the specified header.
- HTTP_DATE_FORMAT - Static variable in class com.google.auth.oauth2.AwsDates
- HTTP_TRANSPORT - Static variable in class com.google.auth.oauth2.OAuth2Utils
- HTTP_TRANSPORT_FACTORY - Static variable in class com.google.auth.oauth2.OAuth2Utils
- HttpCredentialsAdapter - Class in com.google.auth.http
-
A wrapper for using Credentials with the Google API Client Libraries for Java with Http.
- HttpCredentialsAdapter(Credentials) - Constructor for class com.google.auth.http.HttpCredentialsAdapter
- httpMethod - Variable in class com.google.auth.oauth2.AwsRequestSignature.Builder
- httpMethod - Variable in class com.google.auth.oauth2.AwsRequestSignature
- httpMethod - Variable in class com.google.auth.oauth2.AwsRequestSigner.Builder
- httpMethod - Variable in class com.google.auth.oauth2.AwsRequestSigner
- httpRequestFactory - Variable in class com.google.auth.oauth2.StsRequestHandler.Builder
- httpRequestFactory - Variable in class com.google.auth.oauth2.StsRequestHandler
- httpTransportFactory - Variable in class com.google.auth.oauth2.TokenVerifier.Builder
- httpTransportFactory - Variable in class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader
- httpTransportFactory - Variable in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig.Builder
- httpTransportFactory - Variable in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig
- HttpTransportFactory - Interface in com.google.auth.http
-
A base interface for all
HttpTransport
factories.
I
- IAM_ACCESS_TOKEN_ENDPOINT_FORMAT - Static variable in class com.google.auth.oauth2.OAuth2Utils
- IAM_ID_TOKEN_ENDPOINT_FORMAT - Static variable in class com.google.auth.oauth2.OAuth2Utils
- IAM_RETRYABLE_STATUS_CODES - Static variable in class com.google.auth.oauth2.IamUtils
- iamEndpointOverride - Variable in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- iamEndpointOverride - Variable in class com.google.auth.oauth2.ImpersonatedCredentials
- IamUtils - Class in com.google.auth.oauth2
-
This internal class provides shared utilities for interacting with the IAM API for common features like signing.
- IamUtils() - Constructor for class com.google.auth.oauth2.IamUtils
- IAP_CERT_URL - Static variable in class com.google.auth.oauth2.TokenVerifier
- ID_TOKEN - Enum constant in enum com.google.auth.oauth2.ExternalAccountCredentials.SubjectTokenTypes
- ID_TOKEN_REQUEST - Enum constant in enum com.google.auth.oauth2.MetricsUtils.RequestType
- ID_TOKEN_URL_FORMAT - Static variable in class com.google.auth.oauth2.IamUtils
- IdentityPoolCredentials - Class in com.google.auth.oauth2
-
Url-sourced, file-sourced, or user provided supplier method-sourced external account credentials.
- IdentityPoolCredentials(IdentityPoolCredentials.Builder) - Constructor for class com.google.auth.oauth2.IdentityPoolCredentials
-
Internal constructor.
- IdentityPoolCredentials.Builder - Class in com.google.auth.oauth2
- IdentityPoolCredentialSource - Class in com.google.auth.oauth2
-
The IdentityPool credential source.
- IdentityPoolCredentialSource(Map<String, Object>) - Constructor for class com.google.auth.oauth2.IdentityPoolCredentialSource
-
The source of the 3P credential.
- IdentityPoolCredentialSource.CredentialFormatType - Enum in com.google.auth.oauth2
- IdentityPoolCredentialSource.IdentityPoolCredentialSourceType - Enum in com.google.auth.oauth2
- IdentityPoolCredentialSourceType() - Constructor for enum com.google.auth.oauth2.IdentityPoolCredentialSource.IdentityPoolCredentialSourceType
- IdentityPoolSubjectTokenSupplier - Interface in com.google.auth.oauth2
- IdToken - Class in com.google.auth.oauth2
-
Represents a temporary IdToken and its JsonWebSignature object
- IdToken(String, JsonWebSignature) - Constructor for class com.google.auth.oauth2.IdToken
- IdTokenCredentials - Class in com.google.auth.oauth2
-
IdTokenCredentials provides a Google Issued OpenIdConnect token.
- IdTokenCredentials(IdTokenCredentials.Builder) - Constructor for class com.google.auth.oauth2.IdTokenCredentials
- IdTokenCredentials.Builder - Class in com.google.auth.oauth2
- idTokenProvider - Variable in class com.google.auth.oauth2.IdTokenCredentials.Builder
- idTokenProvider - Variable in class com.google.auth.oauth2.IdTokenCredentials
- IdTokenProvider - Interface in com.google.auth.oauth2
-
Interface for an Google OIDC token provider.
- IdTokenProvider.Option - Enum in com.google.auth.oauth2
-
Enum of various credential-specific options to apply to the token.
- idTokenWithAudience(String, List<IdTokenProvider.Option>) - Method in class com.google.auth.oauth2.ComputeEngineCredentials
-
Returns a Google ID Token from the metadata server on ComputeEngine
- idTokenWithAudience(String, List<IdTokenProvider.Option>) - Method in interface com.google.auth.oauth2.IdTokenProvider
-
Returns a Google OpenID Token with the provided audience field.
- idTokenWithAudience(String, List<IdTokenProvider.Option>) - Method in class com.google.auth.oauth2.ImpersonatedCredentials
-
Returns an IdToken for the current Credential.
- idTokenWithAudience(String, List<IdTokenProvider.Option>) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Returns a Google ID Token from either the Oauth or IAM Endpoint.
- idTokenWithAudience(String, List<IdTokenProvider.Option>) - Method in class com.google.auth.oauth2.UserCredentials
-
Returns a Google ID Token from the refresh token response.
- IMDSV2_SESSION_TOKEN_URL_FIELD_NAME - Static variable in class com.google.auth.oauth2.AwsCredentialSource
- imdsv2SessionTokenUrl - Variable in class com.google.auth.oauth2.AwsCredentialSource
- IMPERSONATED_CREDENTIALS - Enum constant in enum com.google.auth.CredentialTypeForMetrics
- IMPERSONATED_CREDENTIALS_FILE_TYPE - Static variable in class com.google.auth.oauth2.ImpersonatedCredentials
- impersonatedCredentials - Variable in class com.google.auth.oauth2.ExternalAccountCredentials
- ImpersonatedCredentials - Class in com.google.auth.oauth2
-
ImpersonatedCredentials allowing credentials issued to a user or service account to impersonate another.
- ImpersonatedCredentials(ImpersonatedCredentials.Builder) - Constructor for class com.google.auth.oauth2.ImpersonatedCredentials
- ImpersonatedCredentials.Builder - Class in com.google.auth.oauth2
- IMPERSONATION_KEY - Static variable in class com.google.auth.oauth2.ExternalAccountMetricsHandler
- INCLUDE_EMAIL - Enum constant in enum com.google.auth.oauth2.IdTokenProvider.Option
- init() - Method in class com.google.auth.oauth2.AppEngineCredentials
- INITIAL_RETRY_INTERVAL_MILLIS - Static variable in class com.google.auth.oauth2.OAuth2Utils
- initialize(HttpRequest) - Method in class com.google.auth.http.HttpCredentialsAdapter
- INSTANCE - Static variable in class com.google.auth.oauth2.SystemEnvironmentProvider
- InternalAuthHttpConstants - Class in com.google.auth.http
-
Internal constants used for auth in http
- InternalAuthHttpConstants() - Constructor for class com.google.auth.http.InternalAuthHttpConstants
- InternalAwsSecurityCredentialsSupplier - Class in com.google.auth.oauth2
-
Internal provider for retrieving AWS security credentials for
AwsCredentials
to exchange for GCP access tokens. - InternalAwsSecurityCredentialsSupplier(AwsCredentialSource, EnvironmentProvider, HttpTransportFactory) - Constructor for class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
-
Constructor for InternalAwsSecurityCredentialsProvider
- internalOptions - Variable in class com.google.auth.oauth2.StsRequestHandler.Builder
- internalOptions - Variable in class com.google.auth.oauth2.StsRequestHandler
- internalOptions - Variable in class com.google.auth.oauth2.StsTokenExchangeRequest.Builder
- internalOptions - Variable in class com.google.auth.oauth2.StsTokenExchangeRequest
- internalProcessBuilder - Variable in class com.google.auth.oauth2.PluggableAuthHandler
- InternalProcessBuilder() - Constructor for class com.google.auth.oauth2.PluggableAuthHandler.InternalProcessBuilder
- INVALID_TOKEN_ERROR - Static variable in class com.google.auth.http.HttpCredentialsAdapter
-
In case an abnormal HTTP response is received with
WWW-Authenticate
header, and its value contains this error pattern, we will try to refresh the token. - isAwsCredential(Map<String, Object>) - Static method in class com.google.auth.oauth2.ExternalAccountCredentials
- isComplete() - Method in class com.google.auth.oauth2.JwtClaims
-
Returns whether or not this set of claims is complete.
- isConfiguredForDomainWideDelegation() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Returns true if credential is configured domain wide delegation
- isDefaultRetriesEnabled() - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- isDefaultUniverseDomain() - Method in class com.google.auth.oauth2.GoogleCredentials
-
Checks if universe domain equals to
Credentials.GOOGLE_DEFAULT_UNIVERSE
. - isExpired() - Method in class com.google.auth.oauth2.ExecutableResponse
-
Returns true if the subject token is expired, false otherwise.
- isExplicitUniverseDomain - Variable in class com.google.auth.oauth2.GoogleCredentials
- isExplicitUniverseDomain() - Method in class com.google.auth.oauth2.GoogleCredentials
-
Gets the flag indicating whether universeDomain was explicitly set by the developer.
- isFile(File) - Method in class com.google.auth.oauth2.DefaultCredentialsProvider
- isNew - Variable in class com.google.auth.oauth2.OAuth2Credentials.AsyncRefreshResult
- isOnGAEStandard7() - Method in class com.google.auth.oauth2.DefaultCredentialsProvider
- isOnGce(HttpTransportFactory, DefaultCredentialsProvider) - Static method in class com.google.auth.oauth2.ComputeEngineCredentials
-
Implements an algorithm to detect whether the code is running on Google Compute Environment (GCE) or equivalent runtime.
- isPluggableAuthCredential(Map<String, Object>) - Static method in class com.google.auth.oauth2.ExternalAccountCredentials
- isRetryable - Variable in exception class com.google.auth.oauth2.GoogleAuthException
- isRetryable() - Method in exception class com.google.auth.oauth2.GoogleAuthException
-
Returns true if the error is retryable, false otherwise
- isRetryable() - Method in interface com.google.auth.Retryable
-
A flag indicating whether the error is retryable
- isSuccessful() - Method in class com.google.auth.oauth2.ExecutableResponse
-
Returns the status of the response.
- issuedTokenType - Variable in class com.google.auth.oauth2.StsTokenExchangeResponse.Builder
- issuedTokenType - Variable in class com.google.auth.oauth2.StsTokenExchangeResponse
- issuer - Variable in class com.google.auth.oauth2.AutoValue_JwtClaims.Builder
- issuer - Variable in class com.google.auth.oauth2.AutoValue_JwtClaims
- issuer - Variable in class com.google.auth.oauth2.TokenVerifier.Builder
- issuer - Variable in class com.google.auth.oauth2.TokenVerifier
- isValid() - Method in class com.google.auth.oauth2.ExecutableResponse
-
Returns whether the execution was successful and returned an unexpired token.
- isValidUrl(String) - Static method in class com.google.auth.oauth2.ExternalAccountCredentials
-
Returns true if the provided URL's scheme is valid and is HTTPS.
- isWorkforcePoolConfiguration() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
J
- javaLanguageVersion - Static variable in class com.google.auth.oauth2.MetricsUtils
- JSON - Enum constant in enum com.google.auth.oauth2.IdentityPoolCredentialSource.CredentialFormatType
- JSON_FACTORY - Static variable in class com.google.auth.oauth2.OAuth2Utils
- JSON_PARSE_ERROR - Static variable in class com.google.auth.oauth2.ClientId
- JsonWebKey() - Constructor for class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader.JsonWebKey
- JsonWebKeySet() - Constructor for class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader.JsonWebKeySet
- jsonWebSignature - Variable in class com.google.auth.oauth2.IdToken
- jwt - Variable in class com.google.auth.oauth2.JwtCredentials
- JWT - Enum constant in enum com.google.auth.oauth2.ExternalAccountCredentials.SubjectTokenTypes
- JWT_ACCESS_PREFIX - Static variable in class com.google.auth.oauth2.JwtCredentials
- JWT_ACCESS_PREFIX - Static variable in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- JWT_INCOMPLETE_ERROR_MESSAGE - Static variable in class com.google.auth.oauth2.JwtCredentials
- jwtClaims - Variable in class com.google.auth.oauth2.JwtCredentials.Builder
- jwtClaims - Variable in class com.google.auth.oauth2.JwtCredentials
- JwtClaims - Class in com.google.auth.oauth2
-
Value class representing the set of fields used as the payload of a JWT token.
- JwtClaims() - Constructor for class com.google.auth.oauth2.JwtClaims
- JwtClaims.Builder - Class in com.google.auth.oauth2
- JwtCredentials - Class in com.google.auth.oauth2
-
Credentials class for calling Google APIs using a JWT with custom claims.
- JwtCredentials(JwtCredentials.Builder) - Constructor for class com.google.auth.oauth2.JwtCredentials
- JwtCredentials.Builder - Class in com.google.auth.oauth2
- JwtProvider - Interface in com.google.auth.oauth2
-
Interface for creating custom JWT tokens
- jwtWithClaims(JwtClaims) - Method in class com.google.auth.oauth2.JwtCredentials
-
Returns a copy of these credentials with modified claims.
- jwtWithClaims(JwtClaims) - Method in interface com.google.auth.oauth2.JwtProvider
-
Returns a new JwtCredentials instance with modified claims.
- jwtWithClaims(JwtClaims) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Returns a new JwtCredentials instance with modified claims.
- jwtWithClaims(JwtClaims) - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
-
Returns a new JwtCredentials instance with modified claims.
K
- keys - Variable in class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader.JsonWebKeySet
- kid - Variable in class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader.JsonWebKey
- kty - Variable in class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader.JsonWebKey
L
- label - Variable in enum com.google.auth.CredentialTypeForMetrics
- label - Variable in enum com.google.auth.oauth2.MetricsUtils.RequestType
- LICENSES_TRUE - Enum constant in enum com.google.auth.oauth2.IdTokenProvider.Option
- LIFE_SPAN_SECS - Static variable in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- lifeSpanSeconds - Variable in class com.google.auth.oauth2.JwtCredentials.Builder
- lifeSpanSeconds - Variable in class com.google.auth.oauth2.JwtCredentials
- lifetime - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.ServiceAccountImpersonationOptions
- lifetime - Variable in class com.google.auth.oauth2.GdchCredentials.Builder
- lifetime - Variable in class com.google.auth.oauth2.GdchCredentials
- lifetime - Variable in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- lifetime - Variable in class com.google.auth.oauth2.ImpersonatedCredentials
- lifetime - Variable in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- lifetime - Variable in class com.google.auth.oauth2.ServiceAccountCredentials
- LINUX - Static variable in class com.google.auth.oauth2.ComputeEngineCredentials
- listener - Variable in class com.google.auth.oauth2.OAuth2Credentials.RefreshTask
- load(String) - Method in class com.google.auth.oauth2.MemoryTokensStorage
- load(String) - Method in interface com.google.auth.oauth2.TokenStore
-
Load the token data from storage for the given ID.
- load(String) - Method in class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader
- lock - Variable in class com.google.auth.oauth2.JwtCredentials
- lock - Variable in class com.google.auth.oauth2.OAuth2Credentials
- LOGGER - Static variable in class com.google.auth.http.HttpCredentialsAdapter
- LOGGER - Static variable in class com.google.auth.oauth2.ComputeEngineCredentials
- LOGGER - Static variable in class com.google.auth.oauth2.DefaultCredentialsProvider
M
- MAX_CODE_VERIFIER_LENGTH - Static variable in class com.google.auth.oauth2.DefaultPKCEProvider
- MAX_COMPUTE_PING_TRIES - Static variable in class com.google.auth.oauth2.ComputeEngineCredentials
- MAXIMUM_EXECUTABLE_TIMEOUT_MS - Static variable in class com.google.auth.oauth2.PluggableAuthCredentialSource
- MAXIMUM_TOKEN_LIFETIME_SECONDS - Static variable in class com.google.auth.oauth2.ExternalAccountCredentials.ServiceAccountImpersonationOptions
- MDS_MTLS_ENDPOINT - Static variable in class com.google.auth.oauth2.SecureSessionAgent
- MemoryTokensStorage - Class in com.google.auth.oauth2
-
Represents an in-memory storage of tokens.
- MemoryTokensStorage() - Constructor for class com.google.auth.oauth2.MemoryTokensStorage
- merge(JwtClaims) - Method in class com.google.auth.oauth2.JwtClaims
-
Returns a new Claims instance with overridden fields.
- METADATA_FLAVOR - Static variable in class com.google.auth.oauth2.ComputeEngineCredentials
- METADATA_FLAVOR - Static variable in class com.google.auth.oauth2.SecureSessionAgent
- METADATA_SERVER_PING - Enum constant in enum com.google.auth.oauth2.MetricsUtils.RequestType
- metricsHandler - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
- metricsHandler - Variable in class com.google.auth.oauth2.ExternalAccountCredentials
- metricsHeaderValue - Variable in class com.google.auth.oauth2.AwsCredentials
- metricsHeaderValue - Variable in class com.google.auth.oauth2.IdentityPoolCredentials
- MetricsUtils - Class in com.google.auth.oauth2
- MetricsUtils() - Constructor for class com.google.auth.oauth2.MetricsUtils
- MetricsUtils.RequestType - Enum in com.google.auth.oauth2
- MINIMUM_EXECUTABLE_TIMEOUT_MS - Static variable in class com.google.auth.oauth2.PluggableAuthCredentialSource
- MINIMUM_TOKEN_LIFETIME_SECONDS - Static variable in class com.google.auth.oauth2.ExternalAccountCredentials.ServiceAccountImpersonationOptions
- monitorCredentials(String, UserCredentials) - Method in class com.google.auth.oauth2.UserAuthorizer
-
Adds a listen to rewrite the credentials when the tokens are refreshed.
- mtlsAddress - Variable in class com.google.auth.oauth2.SecureSessionAgentConfig.Builder
- mtlsAddress - Variable in class com.google.auth.oauth2.SecureSessionAgentConfig
N
- n - Variable in class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader.JsonWebKey
- newBuilder() - Static method in class com.google.auth.oauth2.AccessToken
- newBuilder() - Static method in class com.google.auth.oauth2.AwsCredentials
- newBuilder() - Static method in class com.google.auth.oauth2.ClientId
- newBuilder() - Static method in class com.google.auth.oauth2.CloudShellCredentials
- newBuilder() - Static method in class com.google.auth.oauth2.ComputeEngineCredentials
- newBuilder() - Static method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition
- newBuilder() - Static method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule
- newBuilder() - Static method in class com.google.auth.oauth2.CredentialAccessBoundary
- newBuilder() - Static method in class com.google.auth.oauth2.DownscopedCredentials
- newBuilder() - Static method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- newBuilder() - Static method in class com.google.auth.oauth2.ExternalAccountSupplierContext
- newBuilder() - Static method in class com.google.auth.oauth2.GdchCredentials
- newBuilder() - Static method in class com.google.auth.oauth2.GoogleCredentials
- newBuilder() - Static method in class com.google.auth.oauth2.IdentityPoolCredentials
- newBuilder() - Static method in class com.google.auth.oauth2.IdTokenCredentials
- newBuilder() - Static method in class com.google.auth.oauth2.ImpersonatedCredentials
- newBuilder() - Static method in class com.google.auth.oauth2.JwtClaims
- newBuilder() - Static method in class com.google.auth.oauth2.JwtCredentials
- newBuilder() - Static method in class com.google.auth.oauth2.OAuth2Credentials
- newBuilder() - Static method in class com.google.auth.oauth2.OAuth2CredentialsWithRefresh
- newBuilder() - Static method in class com.google.auth.oauth2.PluggableAuthCredentials
- newBuilder() - Static method in class com.google.auth.oauth2.SecureSessionAgent
- newBuilder() - Static method in class com.google.auth.oauth2.ServiceAccountCredentials
- newBuilder() - Static method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- newBuilder() - Static method in class com.google.auth.oauth2.TokenVerifier
- newBuilder() - Static method in class com.google.auth.oauth2.UserAuthorizer
- newBuilder() - Static method in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig
- newBuilder() - Static method in class com.google.auth.oauth2.UserCredentials
- newBuilder(AwsCredentials) - Static method in class com.google.auth.oauth2.AwsCredentials
- newBuilder(AwsSecurityCredentials, String, String, String) - Static method in class com.google.auth.oauth2.AwsRequestSigner
- newBuilder(IdentityPoolCredentials) - Static method in class com.google.auth.oauth2.IdentityPoolCredentials
- newBuilder(PluggableAuthCredentials) - Static method in class com.google.auth.oauth2.PluggableAuthCredentials
- newBuilder(String, StsTokenExchangeRequest, HttpRequestFactory) - Static method in class com.google.auth.oauth2.StsRequestHandler
- newBuilder(String, String) - Static method in class com.google.auth.oauth2.StsTokenExchangeRequest
- newBuilder(String, String, String) - Static method in class com.google.auth.oauth2.StsTokenExchangeResponse
- newInstance(String) - Static method in class com.google.auth.oauth2.OAuth2Credentials
- NO_GCE_CHECK_ENV_VAR - Static variable in class com.google.auth.oauth2.DefaultCredentialsProvider
- NONE - Enum constant in enum com.google.auth.oauth2.UserAuthorizer.ClientAuthenticationType
O
- OAuth2Credentials - Class in com.google.auth.oauth2
-
Base type for Credentials using OAuth2.
- OAuth2Credentials() - Constructor for class com.google.auth.oauth2.OAuth2Credentials
-
Default constructor.
- OAuth2Credentials(AccessToken) - Constructor for class com.google.auth.oauth2.OAuth2Credentials
-
Constructor with explicit access token.
- OAuth2Credentials(AccessToken, Duration, Duration) - Constructor for class com.google.auth.oauth2.OAuth2Credentials
- OAuth2Credentials.AsyncRefreshResult - Class in com.google.auth.oauth2
-
Result from
OAuth2Credentials.getOrCreateRefreshTask()
. - OAuth2Credentials.Builder - Class in com.google.auth.oauth2
- OAuth2Credentials.CacheState - Enum in com.google.auth.oauth2
- OAuth2Credentials.CredentialsChangedListener - Interface in com.google.auth.oauth2
-
Listener for changes to credentials.
- OAuth2Credentials.FutureCallbackToMetadataCallbackAdapter - Class in com.google.auth.oauth2
- OAuth2Credentials.OAuthValue - Class in com.google.auth.oauth2
-
Stores an immutable snapshot of the accesstoken owned by
OAuth2Credentials
- OAuth2Credentials.RefreshTask - Class in com.google.auth.oauth2
- OAuth2Credentials.RefreshTaskListener - Class in com.google.auth.oauth2
- OAuth2CredentialsWithRefresh - Class in com.google.auth.oauth2
-
A refreshable alternative to
OAuth2Credentials
. - OAuth2CredentialsWithRefresh(AccessToken, OAuth2CredentialsWithRefresh.OAuth2RefreshHandler) - Constructor for class com.google.auth.oauth2.OAuth2CredentialsWithRefresh
- OAuth2CredentialsWithRefresh(OAuth2CredentialsWithRefresh.Builder) - Constructor for class com.google.auth.oauth2.OAuth2CredentialsWithRefresh
- OAuth2CredentialsWithRefresh.Builder - Class in com.google.auth.oauth2
- OAuth2CredentialsWithRefresh.OAuth2RefreshHandler - Interface in com.google.auth.oauth2
-
Interface for the refresh handler.
- OAuth2Utils - Class in com.google.auth.oauth2
-
Internal utilities for the com.google.auth.oauth2 namespace.
- OAuth2Utils() - Constructor for class com.google.auth.oauth2.OAuth2Utils
- OAuth2Utils.DefaultHttpTransportFactory - Class in com.google.auth.oauth2
- OAuthException - Exception Class in com.google.auth.oauth2
-
Encapsulates the standard OAuth error response.
- OAuthException(String, String, String) - Constructor for exception class com.google.auth.oauth2.OAuthException
- OAuthValue(AccessToken, Map<String, List<String>>) - Constructor for class com.google.auth.oauth2.OAuth2Credentials.OAuthValue
- of(String, String) - Static method in class com.google.auth.oauth2.ClientId
-
Constructs a client ID from an explicit ID and secret.
- onChanged(OAuth2Credentials) - Method in interface com.google.auth.oauth2.OAuth2Credentials.CredentialsChangedListener
-
Notifies that the credentials have changed.
- onChanged(OAuth2Credentials) - Method in class com.google.auth.oauth2.UserAuthorizer.UserCredentialsListener
-
Handle change event by rewriting to token store.
- onFailure(Throwable) - Method in class com.google.auth.oauth2.OAuth2Credentials.FutureCallbackToMetadataCallbackAdapter
- onFailure(Throwable) - Method in interface com.google.auth.RequestMetadataCallback
-
Called when metadata generation failed.
- onSuccess(OAuth2Credentials.OAuthValue) - Method in class com.google.auth.oauth2.OAuth2Credentials.FutureCallbackToMetadataCallbackAdapter
- onSuccess(Map<String, List<String>>) - Method in interface com.google.auth.RequestMetadataCallback
-
Called when metadata is successfully produced.
- option - Variable in enum com.google.auth.oauth2.IdTokenProvider.Option
- Option(String) - Constructor for enum com.google.auth.oauth2.IdTokenProvider.Option
- options - Variable in class com.google.auth.oauth2.IdTokenCredentials.Builder
- options - Variable in class com.google.auth.oauth2.IdTokenCredentials
- originalDate - Variable in class com.google.auth.oauth2.AwsDates
- OUTPUT_FILE_KEY - Static variable in class com.google.auth.oauth2.PluggableAuthCredentialSource
- outputFilePath - Variable in class com.google.auth.oauth2.PluggableAuthCredentialSource
P
- PARSE_ERROR_ACCOUNT - Static variable in class com.google.auth.oauth2.ComputeEngineCredentials
- PARSE_ERROR_MESSAGE - Static variable in class com.google.auth.oauth2.IamUtils
- PARSE_ERROR_PREFIX - Static variable in class com.google.auth.oauth2.ComputeEngineCredentials
- PARSE_ERROR_PREFIX - Static variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- PARSE_ERROR_PREFIX - Static variable in class com.google.auth.oauth2.GdchCredentials
- PARSE_ERROR_PREFIX - Static variable in class com.google.auth.oauth2.ServiceAccountCredentials
- PARSE_ERROR_PREFIX - Static variable in class com.google.auth.oauth2.StsRequestHandler
- PARSE_ERROR_PREFIX - Static variable in class com.google.auth.oauth2.UserCredentials
- PARSE_ERROR_S2A - Static variable in class com.google.auth.oauth2.SecureSessionAgent
- PARSE_ERROR_SIGNATURE - Static variable in class com.google.auth.oauth2.IamUtils
- parseIntField(Object) - Static method in class com.google.auth.oauth2.ExecutableResponse
- parseJson(String) - Static method in class com.google.auth.oauth2.OAuth2Utils
-
Parses the specified JSON text.
- parseJson(String) - Method in class com.google.auth.oauth2.StsRequestHandler
- parseLongField(Object) - Static method in class com.google.auth.oauth2.ExecutableResponse
- parseToken(InputStream, IdentityPoolCredentialSource) - Static method in class com.google.auth.oauth2.FileIdentityPoolSubjectTokenSupplier
- pingComputeEngineMetadata(HttpTransportFactory, DefaultCredentialsProvider) - Static method in class com.google.auth.oauth2.ComputeEngineCredentials
- pkce - Variable in class com.google.auth.oauth2.UserAuthorizer.Builder
- pkce - Variable in class com.google.auth.oauth2.UserAuthorizer
- PKCEProvider - Interface in com.google.auth.oauth2
- plaintextAddress - Variable in class com.google.auth.oauth2.SecureSessionAgentConfig.Builder
- plaintextAddress - Variable in class com.google.auth.oauth2.SecureSessionAgentConfig
- PLUGGABLE_AUTH_METRICS_HEADER_VALUE - Static variable in class com.google.auth.oauth2.PluggableAuthCredentials
- PluggableAuthCredentials - Class in com.google.auth.oauth2
-
PluggableAuthCredentials enables the exchange of workload identity pool external credentials for Google access tokens by retrieving 3rd party tokens through a user supplied executable.
- PluggableAuthCredentials(PluggableAuthCredentials.Builder) - Constructor for class com.google.auth.oauth2.PluggableAuthCredentials
-
Internal constructor.
- PluggableAuthCredentials.Builder - Class in com.google.auth.oauth2
- PluggableAuthCredentialSource - Class in com.google.auth.oauth2
-
Encapsulates the credential source portion of the configuration for PluggableAuthCredentials.
- PluggableAuthCredentialSource(Map<String, Object>) - Constructor for class com.google.auth.oauth2.PluggableAuthCredentialSource
- PluggableAuthException - Exception Class in com.google.auth.oauth2
-
Encapsulates the error response's for 3rd party executables defined by the executable spec.
- PluggableAuthException(String, String) - Constructor for exception class com.google.auth.oauth2.PluggableAuthException
- PluggableAuthHandler - Class in com.google.auth.oauth2
-
Internal handler for retrieving 3rd party tokens from user defined scripts/executables for workload identity federation.
- PluggableAuthHandler(EnvironmentProvider) - Constructor for class com.google.auth.oauth2.PluggableAuthHandler
- PluggableAuthHandler(EnvironmentProvider, PluggableAuthHandler.InternalProcessBuilder) - Constructor for class com.google.auth.oauth2.PluggableAuthHandler
- PluggableAuthHandler.DefaultProcessBuilder - Class in com.google.auth.oauth2
-
A default implementation for
PluggableAuthHandler.InternalProcessBuilder
that wrapsProcessBuilder
. - PluggableAuthHandler.InternalProcessBuilder - Class in com.google.auth.oauth2
-
An interface for creating and managing a process.
- privateKey - Variable in class com.google.auth.oauth2.GdchCredentials.Builder
- privateKey - Variable in class com.google.auth.oauth2.GdchCredentials
- privateKey - Variable in class com.google.auth.oauth2.JwtCredentials.Builder
- privateKey - Variable in class com.google.auth.oauth2.JwtCredentials
- privateKey - Variable in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- privateKey - Variable in class com.google.auth.oauth2.ServiceAccountCredentials
- privateKey - Variable in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- privateKey - Variable in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- privateKeyFromPkcs8(String) - Static method in class com.google.auth.oauth2.OAuth2Utils
-
Helper to convert from a PKCS#8 String to an RSA private key
- privateKeyId - Variable in class com.google.auth.oauth2.GdchCredentials.Builder
- privateKeyId - Variable in class com.google.auth.oauth2.GdchCredentials
- privateKeyId - Variable in class com.google.auth.oauth2.JwtCredentials.Builder
- privateKeyId - Variable in class com.google.auth.oauth2.JwtCredentials
- privateKeyId - Variable in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- privateKeyId - Variable in class com.google.auth.oauth2.ServiceAccountCredentials
- privateKeyId - Variable in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- privateKeyId - Variable in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- processBuilder - Variable in class com.google.auth.oauth2.PluggableAuthHandler.DefaultProcessBuilder
- PROGRAMMATIC_METRICS_HEADER_VALUE - Static variable in class com.google.auth.oauth2.ExternalAccountCredentials
- projectId - Variable in class com.google.auth.oauth2.GdchCredentials.Builder
- projectId - Variable in class com.google.auth.oauth2.GdchCredentials
- projectId - Variable in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- projectId - Variable in class com.google.auth.oauth2.ServiceAccountCredentials
- publicKey - Variable in class com.google.auth.oauth2.TokenVerifier.Builder
- publicKey - Variable in class com.google.auth.oauth2.TokenVerifier
- publicKeyCache - Variable in class com.google.auth.oauth2.TokenVerifier
- PublicKeyLoader(HttpTransportFactory) - Constructor for class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader
Q
- QUOTA_PROJECT_ENV_VAR - Static variable in class com.google.auth.oauth2.DefaultCredentialsProvider
- QUOTA_PROJECT_ID_HEADER_KEY - Static variable in class com.google.auth.oauth2.GoogleCredentials
- quotaProjectId - Variable in class com.google.auth.oauth2.GoogleCredentials.Builder
- quotaProjectId - Variable in class com.google.auth.oauth2.GoogleCredentials
- quotaProjectId - Variable in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- quotaProjectId - Variable in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- QuotaProjectIdProvider - Interface in com.google.auth.oauth2
-
Interface for
GoogleCredentials
that return a quota project ID.
R
- READ_TIMEOUT_MS - Static variable in class com.google.auth.oauth2.CloudShellCredentials
- readObject(ObjectInputStream) - Method in class com.google.auth.oauth2.AppEngineCredentials
- readObject(ObjectInputStream) - Method in class com.google.auth.oauth2.ComputeEngineCredentials
- readObject(ObjectInputStream) - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- readObject(ObjectInputStream) - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- readObject(ObjectInputStream) - Method in class com.google.auth.oauth2.GdchCredentials
- readObject(ObjectInputStream) - Method in class com.google.auth.oauth2.IdToken
- readObject(ObjectInputStream) - Method in class com.google.auth.oauth2.ImpersonatedCredentials
- readObject(ObjectInputStream) - Method in class com.google.auth.oauth2.OAuth2Credentials
- readObject(ObjectInputStream) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- readObject(ObjectInputStream) - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- readObject(ObjectInputStream) - Method in class com.google.auth.oauth2.UserCredentials
- readStream(File) - Method in class com.google.auth.oauth2.DefaultCredentialsProvider
- readStream(File) - Static method in class com.google.auth.oauth2.GdchCredentials
- redirectErrorStream(boolean) - Method in class com.google.auth.oauth2.PluggableAuthHandler.DefaultProcessBuilder
- redirectErrorStream(boolean) - Method in class com.google.auth.oauth2.PluggableAuthHandler.InternalProcessBuilder
- refresh() - Method in class com.google.auth.ApiKeyCredentials
-
There is no concept of refreshing an API tokens, this method is a no-op.
- refresh() - Method in class com.google.auth.Credentials
-
Refresh the authorization data, discarding any cached state.
- refresh() - Method in class com.google.auth.oauth2.JwtCredentials
-
Refresh the token by discarding the cached token and metadata and rebuilding a new one.
- refresh() - Method in class com.google.auth.oauth2.OAuth2Credentials
-
Request a new token regardless of the current token state.
- refresh() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
-
Discard any cached data
- refreshAccessToken() - Method in class com.google.auth.oauth2.AppEngineCredentials
-
Refresh the access token by getting it from the App Identity service.
- refreshAccessToken() - Method in class com.google.auth.oauth2.AwsCredentials
- refreshAccessToken() - Method in class com.google.auth.oauth2.CloudShellCredentials
- refreshAccessToken() - Method in class com.google.auth.oauth2.ComputeEngineCredentials
-
Refresh the access token by getting it from the GCE metadata server
- refreshAccessToken() - Method in class com.google.auth.oauth2.DownscopedCredentials
- refreshAccessToken() - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- refreshAccessToken() - Method in class com.google.auth.oauth2.GdchCredentials
-
Refresh the OAuth2 access token by getting a new access token using a JSON Web Token (JWT).
- refreshAccessToken() - Method in class com.google.auth.oauth2.IdentityPoolCredentials
- refreshAccessToken() - Method in class com.google.auth.oauth2.IdTokenCredentials
- refreshAccessToken() - Method in class com.google.auth.oauth2.ImpersonatedCredentials
- refreshAccessToken() - Method in class com.google.auth.oauth2.OAuth2Credentials
-
Method to refresh the access token according to the specific type of credentials.
- refreshAccessToken() - Method in interface com.google.auth.oauth2.OAuth2CredentialsWithRefresh.OAuth2RefreshHandler
- refreshAccessToken() - Method in class com.google.auth.oauth2.OAuth2CredentialsWithRefresh
-
Refreshes the access token using the provided
OAuth2CredentialsWithRefresh.OAuth2RefreshHandler
. - refreshAccessToken() - Method in class com.google.auth.oauth2.PluggableAuthCredentials
- refreshAccessToken() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Refreshes the OAuth2 access token by getting a new access token using a JSON Web Token (JWT).
- refreshAccessToken() - Method in class com.google.auth.oauth2.UserCredentials
-
Refreshes the OAuth2 access token by getting a new access token from the refresh token
- refreshHandler - Variable in class com.google.auth.oauth2.OAuth2CredentialsWithRefresh.Builder
- refreshHandler - Variable in class com.google.auth.oauth2.OAuth2CredentialsWithRefresh
- refreshIfExpired() - Method in class com.google.auth.oauth2.OAuth2Credentials
-
Refresh these credentials only if they have expired or are expiring imminently.
- refreshMargin - Variable in class com.google.auth.oauth2.OAuth2Credentials.Builder
- refreshMargin - Variable in class com.google.auth.oauth2.OAuth2Credentials
- refreshTask - Variable in class com.google.auth.oauth2.OAuth2Credentials
- RefreshTask(ListenableFutureTask<OAuth2Credentials.OAuthValue>, OAuth2Credentials.RefreshTaskListener) - Constructor for class com.google.auth.oauth2.OAuth2Credentials.RefreshTask
- RefreshTaskListener(ListenableFutureTask<OAuth2Credentials.OAuthValue>) - Constructor for class com.google.auth.oauth2.OAuth2Credentials.RefreshTaskListener
- refreshToken - Variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
- refreshToken - Variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- refreshToken - Variable in class com.google.auth.oauth2.StsTokenExchangeResponse.Builder
- refreshToken - Variable in class com.google.auth.oauth2.StsTokenExchangeResponse
- refreshToken - Variable in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig.Builder
- refreshToken - Variable in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig
- refreshToken - Variable in class com.google.auth.oauth2.UserCredentials.Builder
- refreshToken - Variable in class com.google.auth.oauth2.UserCredentials
- region - Variable in class com.google.auth.oauth2.AwsRequestSignature.Builder
- region - Variable in class com.google.auth.oauth2.AwsRequestSignature
- region - Variable in class com.google.auth.oauth2.AwsRequestSigner.Builder
- region - Variable in class com.google.auth.oauth2.AwsRequestSigner
- regionalCredentialVerificationUrl - Variable in class com.google.auth.oauth2.AwsCredentials
- regionalCredentialVerificationUrl - Variable in class com.google.auth.oauth2.AwsCredentialSource
- regionalCredentialVerificationUrlOverride - Variable in class com.google.auth.oauth2.AwsCredentials.Builder
- regionalCredentialVerificationUrlOverride - Variable in class com.google.auth.oauth2.AwsCredentials
- regionUrl - Variable in class com.google.auth.oauth2.AwsCredentialSource
- removeChangeListener(OAuth2Credentials.CredentialsChangedListener) - Method in class com.google.auth.oauth2.OAuth2Credentials
-
Removes a listener that was added previously.
- request - Variable in class com.google.auth.oauth2.StsRequestHandler.Builder
- request - Variable in class com.google.auth.oauth2.StsRequestHandler
- requestedTokenType - Variable in class com.google.auth.oauth2.StsTokenExchangeRequest.Builder
- requestedTokenType - Variable in class com.google.auth.oauth2.StsTokenExchangeRequest
- requestMetadata - Variable in class com.google.auth.oauth2.OAuth2Credentials.OAuthValue
- RequestMetadataCallback - Interface in com.google.auth
-
The callback that receives the result of the asynchronous
Credentials.getRequestMetadata(java.net.URI, java.util.concurrent.Executor, RequestMetadataCallback)
. - requestPayload - Variable in class com.google.auth.oauth2.AwsRequestSigner.Builder
- requestPayload - Variable in class com.google.auth.oauth2.AwsRequestSigner
- RequestType(String) - Constructor for enum com.google.auth.oauth2.MetricsUtils.RequestType
- resource - Variable in class com.google.auth.oauth2.StsTokenExchangeRequest.Builder
- resource - Variable in class com.google.auth.oauth2.StsTokenExchangeRequest
- retrieveResource(String, String, String, Map<String, Object>, HttpContent) - Method in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- retrieveResource(String, String, Map<String, Object>) - Method in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- retrieveSubjectToken() - Method in class com.google.auth.oauth2.AwsCredentials
- retrieveSubjectToken() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
-
Retrieves the external subject token to be exchanged for a Google Cloud access token.
- retrieveSubjectToken() - Method in class com.google.auth.oauth2.IdentityPoolCredentials
- retrieveSubjectToken() - Method in class com.google.auth.oauth2.PluggableAuthCredentials
-
Returns the 3rd party subject token by calling the executable specified in the credential source.
- retrieveTokenFromExecutable(ExecutableHandler.ExecutableOptions) - Method in interface com.google.auth.oauth2.ExecutableHandler
-
Handles executing the 3rd party script and parsing the token from the response.
- retrieveTokenFromExecutable(ExecutableHandler.ExecutableOptions) - Method in class com.google.auth.oauth2.PluggableAuthHandler
- RETRY_MULTIPLIER - Static variable in class com.google.auth.oauth2.OAuth2Utils
- RETRY_RANDOMIZATION_FACTOR - Static variable in class com.google.auth.oauth2.OAuth2Utils
- Retryable - Interface in com.google.auth
- RETRYABLE_STATUS_CODES - Static variable in class com.google.auth.oauth2.SecureSessionAgent
- retryCount - Variable in exception class com.google.auth.oauth2.GoogleAuthException
- revokeAuthorization(String) - Method in class com.google.auth.oauth2.UserAuthorizer
-
Revokes the authorization for tokens stored for the user.
- revokeUrl - Variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
- revokeUrl - Variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- RFC3339 - Static variable in class com.google.auth.oauth2.ImpersonatedCredentials
- RULES_SIZE_LIMIT - Static variable in class com.google.auth.oauth2.CredentialAccessBoundary
- run() - Method in class com.google.auth.oauth2.OAuth2Credentials.RefreshTask
- run() - Method in class com.google.auth.oauth2.OAuth2Credentials.RefreshTaskListener
- runningOnAppEngine() - Method in class com.google.auth.oauth2.DefaultCredentialsProvider
- RUNTIME_JETTY_LOGGER - Static variable in class com.google.auth.oauth2.DefaultCredentialsProvider
S
- S2A_CONFIG_ENDPOINT_POSTFIX - Static variable in class com.google.auth.oauth2.SecureSessionAgent
- S2A_MTLS_ADDRESS_JSON_KEY - Static variable in class com.google.auth.oauth2.SecureSessionAgent
- S2A_PLAINTEXT_ADDRESS_JSON_KEY - Static variable in class com.google.auth.oauth2.SecureSessionAgent
- saImpersonation - Variable in class com.google.auth.oauth2.ExternalAccountMetricsHandler
- SAML_SUBJECT_TOKEN_TYPE - Static variable in class com.google.auth.oauth2.ExecutableResponse
- SAML2 - Enum constant in enum com.google.auth.oauth2.ExternalAccountCredentials.SubjectTokenTypes
- save(String) - Method in class com.google.auth.oauth2.UserCredentials
-
Saves the end user credentials into the given file path.
- scopes - Variable in class com.google.auth.oauth2.AccessToken.Builder
- scopes - Variable in class com.google.auth.oauth2.AccessToken
- scopes - Variable in class com.google.auth.oauth2.AppEngineCredentials
- scopes - Variable in class com.google.auth.oauth2.ComputeEngineCredentials.Builder
- scopes - Variable in class com.google.auth.oauth2.ComputeEngineCredentials
- scopes - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
- scopes - Variable in class com.google.auth.oauth2.ExternalAccountCredentials
- scopes - Variable in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- scopes - Variable in class com.google.auth.oauth2.ImpersonatedCredentials
- scopes - Variable in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- scopes - Variable in class com.google.auth.oauth2.ServiceAccountCredentials
- scopes - Variable in class com.google.auth.oauth2.StsTokenExchangeRequest.Builder
- scopes - Variable in class com.google.auth.oauth2.StsTokenExchangeRequest
- scopes - Variable in class com.google.auth.oauth2.StsTokenExchangeResponse.Builder
- scopes - Variable in class com.google.auth.oauth2.StsTokenExchangeResponse
- scopes - Variable in class com.google.auth.oauth2.UserAuthorizer.Builder
- scopes - Variable in class com.google.auth.oauth2.UserAuthorizer
- scopesRequired - Variable in class com.google.auth.oauth2.AppEngineCredentials
- secretAccessKey - Variable in class com.google.auth.oauth2.AwsSecurityCredentials
- SecureSessionAgent - Class in com.google.auth.oauth2
-
Utilities to fetch the S2A (Secure Session Agent) address from the mTLS configuration.
- SecureSessionAgent(SecureSessionAgent.Builder) - Constructor for class com.google.auth.oauth2.SecureSessionAgent
- SecureSessionAgent.Builder - Class in com.google.auth.oauth2
- SecureSessionAgentConfig - Class in com.google.auth.oauth2
-
Holds an mTLS configuration (consists of address of S2A) retrieved from the Metadata Server.
- SecureSessionAgentConfig(String, String) - Constructor for class com.google.auth.oauth2.SecureSessionAgentConfig
- SecureSessionAgentConfig.Builder - Class in com.google.auth.oauth2
- selfSignedJwtCredentialsWithScope - Variable in class com.google.auth.oauth2.ServiceAccountCredentials
- serialVersionUID - Static variable in class com.google.auth.Credentials
- serialVersionUID - Static variable in class com.google.auth.oauth2.AccessToken
- serialVersionUID - Static variable in class com.google.auth.oauth2.AppEngineCredentials
- serialVersionUID - Static variable in class com.google.auth.oauth2.AutoValue_JwtClaims
- serialVersionUID - Static variable in class com.google.auth.oauth2.AwsCredentials
- serialVersionUID - Static variable in class com.google.auth.oauth2.AwsCredentialSource
- serialVersionUID - Static variable in class com.google.auth.oauth2.CloudShellCredentials
- serialVersionUID - Static variable in class com.google.auth.oauth2.ComputeEngineCredentials
- serialVersionUID - Static variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- serialVersionUID - Static variable in class com.google.auth.oauth2.ExternalAccountCredentials.CredentialSource
- serialVersionUID - Static variable in class com.google.auth.oauth2.ExternalAccountCredentials
- serialVersionUID - Static variable in class com.google.auth.oauth2.ExternalAccountCredentials.ServiceAccountImpersonationOptions
- serialVersionUID - Static variable in class com.google.auth.oauth2.ExternalAccountSupplierContext
- serialVersionUID - Variable in class com.google.auth.oauth2.FileIdentityPoolSubjectTokenSupplier
- serialVersionUID - Static variable in class com.google.auth.oauth2.GoogleCredentials
- serialVersionUID - Static variable in class com.google.auth.oauth2.IdentityPoolCredentials
- serialVersionUID - Static variable in class com.google.auth.oauth2.IdentityPoolCredentialSource
- serialVersionUID - Static variable in class com.google.auth.oauth2.IdToken
- serialVersionUID - Static variable in class com.google.auth.oauth2.IdTokenCredentials
- serialVersionUID - Static variable in class com.google.auth.oauth2.ImpersonatedCredentials
- serialVersionUID - Static variable in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- serialVersionUID - Static variable in class com.google.auth.oauth2.JwtClaims
- serialVersionUID - Static variable in class com.google.auth.oauth2.OAuth2Credentials
- serialVersionUID - Static variable in class com.google.auth.oauth2.ServiceAccountCredentials
- serialVersionUID - Static variable in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- serialVersionUID - Static variable in class com.google.auth.oauth2.SystemEnvironmentProvider
- serialVersionUID - Static variable in class com.google.auth.oauth2.UrlIdentityPoolSubjectTokenSupplier
- serialVersionUID - Static variable in class com.google.auth.oauth2.UserCredentials
- serialVersionUID - Static variable in exception class com.google.auth.ServiceAccountSigner.SigningException
- SERVICE_ACCOUNT_CREDENTIALS_AT - Enum constant in enum com.google.auth.CredentialTypeForMetrics
- SERVICE_ACCOUNT_CREDENTIALS_JWT - Enum constant in enum com.google.auth.CredentialTypeForMetrics
- SERVICE_ACCOUNT_FILE_TYPE - Static variable in class com.google.auth.oauth2.GoogleCredentials
- ServiceAccountCredentials - Class in com.google.auth.oauth2
-
OAuth2 credentials representing a Service Account for calling Google APIs.
- ServiceAccountCredentials(ServiceAccountCredentials.Builder) - Constructor for class com.google.auth.oauth2.ServiceAccountCredentials
-
Internal constructor
- ServiceAccountCredentials.Builder - Class in com.google.auth.oauth2
- serviceAccountEmail - Variable in class com.google.auth.oauth2.ComputeEngineCredentials
- serviceAccountImpersonationOptions - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
- serviceAccountImpersonationOptions - Variable in class com.google.auth.oauth2.ExternalAccountCredentials
- ServiceAccountImpersonationOptions(Map<String, Object>) - Constructor for class com.google.auth.oauth2.ExternalAccountCredentials.ServiceAccountImpersonationOptions
- serviceAccountImpersonationUrl - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
- serviceAccountImpersonationUrl - Variable in class com.google.auth.oauth2.ExternalAccountCredentials
- ServiceAccountJwtAccessCredentials - Class in com.google.auth.oauth2
-
Service Account credentials for calling Google APIs using a JWT directly for access.
- ServiceAccountJwtAccessCredentials(String, String, PrivateKey, String) - Constructor for class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
-
Constructor with minimum identifying information.
- ServiceAccountJwtAccessCredentials(String, String, PrivateKey, String, URI, String) - Constructor for class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
-
Constructor with full information.
- ServiceAccountJwtAccessCredentials.Builder - Class in com.google.auth.oauth2
- ServiceAccountSigner - Interface in com.google.auth
-
Interface for a service account signer.
- ServiceAccountSigner.SigningException - Exception Class in com.google.auth
- serviceAccountUser - Variable in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- serviceAccountUser - Variable in class com.google.auth.oauth2.ServiceAccountCredentials
- serviceIdentityName - Variable in class com.google.auth.oauth2.GdchCredentials.Builder
- serviceIdentityName - Variable in class com.google.auth.oauth2.GdchCredentials
- sessionToken - Variable in class com.google.auth.oauth2.AwsSecurityCredentials
- setAccessToken(AccessToken) - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
-
Sets the optional access token.
- setAccessToken(AccessToken) - Method in class com.google.auth.oauth2.GoogleCredentials.Builder
- setAccessToken(AccessToken) - Method in class com.google.auth.oauth2.OAuth2Credentials.Builder
- setAccessToken(AccessToken) - Method in class com.google.auth.oauth2.OAuth2CredentialsWithRefresh.Builder
-
Sets the
AccessToken
to be consumed. - setAccessToken(AccessToken) - Method in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig.Builder
- setAccessToken(AccessToken) - Method in class com.google.auth.oauth2.UserCredentials.Builder
- setActingParty(ActingParty) - Method in class com.google.auth.oauth2.StsTokenExchangeRequest.Builder
- setAdditionalClaims(Map<String, String>) - Method in class com.google.auth.oauth2.AutoValue_JwtClaims.Builder
- setAdditionalClaims(Map<String, String>) - Method in class com.google.auth.oauth2.JwtClaims.Builder
- setAdditionalHeaders(Map<String, String>) - Method in class com.google.auth.oauth2.AwsRequestSigner.Builder
- setAudience(String) - Method in class com.google.auth.oauth2.AutoValue_JwtClaims.Builder
- setAudience(String) - Method in class com.google.auth.oauth2.AwsCredentials.Builder
- setAudience(String) - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
-
Sets the optional audience, which is usually the fully specified resource name of the workforce pool provider.
- setAudience(String) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
Sets the Security Token Service audience, which is usually the fully specified resource name of the workload/workforce pool provider.
- setAudience(String) - Method in class com.google.auth.oauth2.ExternalAccountSupplierContext.Builder
-
Sets the Audience.
- setAudience(String) - Method in class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- setAudience(String) - Method in class com.google.auth.oauth2.JwtClaims.Builder
- setAudience(String) - Method in class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- setAudience(String) - Method in class com.google.auth.oauth2.StsTokenExchangeRequest.Builder
- setAudience(String) - Method in class com.google.auth.oauth2.TokenVerifier.Builder
-
Set a target audience to verify.
- setAuthorizationHeader(String) - Method in class com.google.auth.oauth2.AwsRequestSignature.Builder
- setAuthPort(int) - Method in class com.google.auth.oauth2.CloudShellCredentials.Builder
- setAvailabilityCondition(CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition) - Method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.Builder
-
Sets the availability condition which is an IAM condition that defines constraints to apply to the token expressed in CEL format.
- setAvailablePermissions(List<String>) - Method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.Builder
-
Sets the list of permissions that can be used on the resource.
- setAvailableResource(String) - Method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.Builder
-
Sets the available resource, which is the full resource name of the GCP resource to allow access to.
- setAwsSecurityCredentialsSupplier(AwsSecurityCredentialsSupplier) - Method in class com.google.auth.oauth2.AwsCredentials.Builder
-
Sets the AWS security credentials supplier.
- setCaCertPath(String) - Method in class com.google.auth.oauth2.GdchCredentials.Builder
- setCalendar(Calendar) - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- setCallbackUri(URI) - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
-
Sets the redirect URI registered with your OAuth provider.
- setCanonicalHeaders(Map<String, String>) - Method in class com.google.auth.oauth2.AwsRequestSignature.Builder
- setCertificatesLocation(String) - Method in class com.google.auth.oauth2.TokenVerifier.Builder
-
Override the location URL that contains published public keys.
- setClientAuthenticationType(UserAuthorizer.ClientAuthenticationType) - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
-
Sets the optional
UserAuthorizer.ClientAuthenticationType
, one of the client authentication methods defined in RFC 7591. - setClientEmail(String) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- setClientEmail(String) - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- setClientId(ClientId) - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
-
Sets the OAuth 2.0 client ID.
- setClientId(String) - Method in class com.google.auth.oauth2.AwsCredentials.Builder
- setClientId(String) - Method in class com.google.auth.oauth2.ClientId.Builder
- setClientId(String) - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
-
Sets the OAuth 2.0 client ID.
- setClientId(String) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
Sets the optional client ID of the service account from the console.
- setClientId(String) - Method in class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- setClientId(String) - Method in class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- setClientId(String) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- setClientId(String) - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- setClientId(String) - Method in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig.Builder
- setClientId(String) - Method in class com.google.auth.oauth2.UserCredentials.Builder
- setClientSecret(String) - Method in class com.google.auth.oauth2.AwsCredentials.Builder
- setClientSecret(String) - Method in class com.google.auth.oauth2.ClientId.Builder
- setClientSecret(String) - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
-
Sets the OAuth 2.0 client secret.
- setClientSecret(String) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
Sets the optional client secret of the service account from the console.
- setClientSecret(String) - Method in class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- setClientSecret(String) - Method in class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- setClientSecret(String) - Method in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig.Builder
- setClientSecret(String) - Method in class com.google.auth.oauth2.UserCredentials.Builder
- setClock(Clock) - Method in class com.google.auth.oauth2.JwtCredentials.Builder
- setClock(Clock) - Method in class com.google.auth.oauth2.TokenVerifier.Builder
-
Set the clock for checking token expiry.
- setCredentialAccessBoundary(CredentialAccessBoundary) - Method in class com.google.auth.oauth2.DownscopedCredentials.Builder
-
Sets the required credential access boundary which specifies the upper bound of permissions that the credential can access.
- setCredentialScope(String) - Method in class com.google.auth.oauth2.AwsRequestSignature.Builder
- setCredentialSource(AwsCredentialSource) - Method in class com.google.auth.oauth2.AwsCredentials.Builder
- setCredentialSource(ExternalAccountCredentials.CredentialSource) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
Sets the external credential source.
- setCredentialSource(IdentityPoolCredentialSource) - Method in class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- setCredentialSource(PluggableAuthCredentialSource) - Method in class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- setDate(String) - Method in class com.google.auth.oauth2.AwsRequestSignature.Builder
- setDefaultAudience(URI) - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- setDefaultRetriesEnabled(boolean) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- setDefaultScopes(Collection<String>) - Method in class com.google.auth.oauth2.ComputeEngineCredentials.Builder
- setDelegates(List<String>) - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- setDescription(String) - Method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition.Builder
-
Sets the description that details the purpose of the condition.
- setEnvironmentProvider(EnvironmentProvider) - Method in class com.google.auth.oauth2.AwsCredentials.Builder
- setEnvironmentProvider(EnvironmentProvider) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
Sets the optional Environment Provider.
- setEnvironmentProvider(EnvironmentProvider) - Method in class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- setEnvironmentProvider(EnvironmentProvider) - Method in class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- setExecutableHandler(ExecutableHandler) - Method in class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- setExpirationMargin(Duration) - Method in class com.google.auth.oauth2.OAuth2Credentials.Builder
- setExpirationMargin(Duration) - Method in class com.google.auth.oauth2.UserCredentials.Builder
- setExpirationTime(Date) - Method in class com.google.auth.oauth2.AccessToken.Builder
- setExpiresInSeconds(long) - Method in class com.google.auth.oauth2.StsTokenExchangeResponse.Builder
- setExpression(String) - Method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition.Builder
-
Sets the required expression which must be defined in Common Expression Language (CEL) format.
- setGdchAudience(URI) - Method in class com.google.auth.oauth2.GdchCredentials.Builder
- setHeaders(HttpHeaders) - Method in class com.google.auth.oauth2.StsRequestHandler.Builder
- setHttpMethod(String) - Method in class com.google.auth.oauth2.AwsRequestSignature.Builder
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.AwsCredentials.Builder
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.ComputeEngineCredentials.Builder
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.DownscopedCredentials.Builder
-
Sets the HTTP transport factory.
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
-
Sets the HTTP transport factory.
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
Sets the HTTP transport factory, creates the transport used to get access tokens.
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.GdchCredentials.Builder
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.SecureSessionAgent.Builder
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.TokenVerifier.Builder
-
Set the HttpTransportFactory used for requesting public keys from the certificate URL.
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
-
Sets the HTTP transport factory.
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig.Builder
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.UserCredentials.Builder
- setIamEndpointOverride(String) - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- setIdTokenProvider(IdTokenProvider) - Method in class com.google.auth.oauth2.IdTokenCredentials.Builder
- setInternalOptions(String) - Method in class com.google.auth.oauth2.StsRequestHandler.Builder
- setInternalOptions(String) - Method in class com.google.auth.oauth2.StsTokenExchangeRequest.Builder
- setIssuer(String) - Method in class com.google.auth.oauth2.AutoValue_JwtClaims.Builder
- setIssuer(String) - Method in class com.google.auth.oauth2.JwtClaims.Builder
- setIssuer(String) - Method in class com.google.auth.oauth2.TokenVerifier.Builder
-
Set the issuer to verify.
- setJwtClaims(JwtClaims) - Method in class com.google.auth.oauth2.JwtCredentials.Builder
- setLifeSpanSeconds(Long) - Method in class com.google.auth.oauth2.JwtCredentials.Builder
- setLifetime(int) - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- setLifetime(int) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- setMetricsHeader(HttpRequest, String) - Static method in class com.google.auth.oauth2.MetricsUtils
- setMtlsAddress(String) - Method in class com.google.auth.oauth2.SecureSessionAgentConfig.Builder
- setOptions(List<IdTokenProvider.Option>) - Method in class com.google.auth.oauth2.IdTokenCredentials.Builder
- setPKCEProvider(PKCEProvider) - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
-
Sets the optional
PKCEProvider
to enable Proof Key for Code Exchange to be used. - setPlaintextAddress(String) - Method in class com.google.auth.oauth2.SecureSessionAgentConfig.Builder
- setPrivateKey(PrivateKey) - Method in class com.google.auth.oauth2.GdchCredentials.Builder
- setPrivateKey(PrivateKey) - Method in class com.google.auth.oauth2.JwtCredentials.Builder
- setPrivateKey(PrivateKey) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- setPrivateKey(PrivateKey) - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- setPrivateKeyId(String) - Method in class com.google.auth.oauth2.GdchCredentials.Builder
- setPrivateKeyId(String) - Method in class com.google.auth.oauth2.JwtCredentials.Builder
- setPrivateKeyId(String) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- setPrivateKeyId(String) - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- setPrivateKeyString(String) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- setProjectId(String) - Method in class com.google.auth.oauth2.GdchCredentials.Builder
- setProjectId(String) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- setPublicKey(PublicKey) - Method in class com.google.auth.oauth2.TokenVerifier.Builder
-
Set the PublicKey for verifying the signature.
- setQuotaProjectId(String) - Method in class com.google.auth.oauth2.AwsCredentials.Builder
- setQuotaProjectId(String) - Method in class com.google.auth.oauth2.CloudShellCredentials.Builder
- setQuotaProjectId(String) - Method in class com.google.auth.oauth2.ComputeEngineCredentials.Builder
- setQuotaProjectId(String) - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
-
Sets the optional project used for quota and billing purposes.
- setQuotaProjectId(String) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
Sets the optional project used for quota and billing purposes.
- setQuotaProjectId(String) - Method in class com.google.auth.oauth2.GoogleCredentials.Builder
- setQuotaProjectId(String) - Method in class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- setQuotaProjectId(String) - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- setQuotaProjectId(String) - Method in class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- setQuotaProjectId(String) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- setQuotaProjectId(String) - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
- setQuotaProjectId(String) - Method in class com.google.auth.oauth2.UserCredentials.Builder
- setRefreshHandler(OAuth2CredentialsWithRefresh.OAuth2RefreshHandler) - Method in class com.google.auth.oauth2.OAuth2CredentialsWithRefresh.Builder
-
Sets the
OAuth2CredentialsWithRefresh.OAuth2RefreshHandler
to be used for token refreshes. - setRefreshMargin(Duration) - Method in class com.google.auth.oauth2.OAuth2Credentials.Builder
- setRefreshMargin(Duration) - Method in class com.google.auth.oauth2.UserCredentials.Builder
- setRefreshToken(String) - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
-
Sets the OAuth 2.0 refresh token.
- setRefreshToken(String) - Method in class com.google.auth.oauth2.StsTokenExchangeResponse.Builder
- setRefreshToken(String) - Method in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig.Builder
- setRefreshToken(String) - Method in class com.google.auth.oauth2.UserCredentials.Builder
- setRegion(String) - Method in class com.google.auth.oauth2.AwsRequestSignature.Builder
- setRegionalCredentialVerificationUrlOverride(String) - Method in class com.google.auth.oauth2.AwsCredentials.Builder
-
Sets the AWS regional credential verification URL.
- setRequestPayload(String) - Method in class com.google.auth.oauth2.AwsRequestSigner.Builder
- setRequestTokenType(String) - Method in class com.google.auth.oauth2.StsTokenExchangeRequest.Builder
- setResource(String) - Method in class com.google.auth.oauth2.StsTokenExchangeRequest.Builder
- setRevokeUrl(String) - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
-
Sets the token revocation endpoint.
- setRules(List<CredentialAccessBoundary.AccessBoundaryRule>) - Method in class com.google.auth.oauth2.CredentialAccessBoundary.Builder
-
Sets the list of
CredentialAccessBoundary.AccessBoundaryRule
's. - setScopes(String) - Method in class com.google.auth.oauth2.AccessToken.Builder
- setScopes(Collection<String>) - Method in class com.google.auth.oauth2.AwsCredentials.Builder
- setScopes(Collection<String>) - Method in class com.google.auth.oauth2.ComputeEngineCredentials.Builder
- setScopes(Collection<String>) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
Sets the optional scopes to request during the authorization grant.
- setScopes(Collection<String>) - Method in class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- setScopes(Collection<String>) - Method in class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- setScopes(Collection<String>) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- setScopes(Collection<String>) - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
-
Sets the OAuth 2.0 scopes to request.
- setScopes(Collection<String>, Collection<String>) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- setScopes(List<String>) - Method in class com.google.auth.oauth2.AccessToken.Builder
- setScopes(List<String>) - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- setScopes(List<String>) - Method in class com.google.auth.oauth2.StsTokenExchangeRequest.Builder
- setScopes(List<String>) - Method in class com.google.auth.oauth2.StsTokenExchangeResponse.Builder
- setSecurityCredentials(AwsSecurityCredentials) - Method in class com.google.auth.oauth2.AwsRequestSignature.Builder
- setServiceAccountImpersonationOptions(Map<String, Object>) - Method in class com.google.auth.oauth2.AwsCredentials.Builder
- setServiceAccountImpersonationOptions(Map<String, Object>) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
Sets the optional service account impersonation options.
- setServiceAccountImpersonationOptions(Map<String, Object>) - Method in class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- setServiceAccountImpersonationOptions(Map<String, Object>) - Method in class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- setServiceAccountImpersonationUrl(String) - Method in class com.google.auth.oauth2.AwsCredentials.Builder
- setServiceAccountImpersonationUrl(String) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
Sets the optional URL used for service account impersonation, which is required for some APIs.
- setServiceAccountImpersonationUrl(String) - Method in class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- setServiceAccountImpersonationUrl(String) - Method in class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- setServiceAccountUser(String) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- setServiceIdentityName(String) - Method in class com.google.auth.oauth2.GdchCredentials.Builder
- setSignature(String) - Method in class com.google.auth.oauth2.AwsRequestSignature.Builder
- setSourceCredential(GoogleCredentials) - Method in class com.google.auth.oauth2.DownscopedCredentials.Builder
-
Sets the required source credential used to acquire the downscoped credential.
- setSourceCredentials(GoogleCredentials) - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- setSubject(String) - Method in class com.google.auth.oauth2.AutoValue_JwtClaims.Builder
- setSubject(String) - Method in class com.google.auth.oauth2.JwtClaims.Builder
- setSubjectTokenSupplier(IdentityPoolSubjectTokenSupplier) - Method in class com.google.auth.oauth2.IdentityPoolCredentials.Builder
-
Sets the subject token supplier.
- setSubjectTokenType(ExternalAccountCredentials.SubjectTokenTypes) - Method in class com.google.auth.oauth2.AwsCredentials.Builder
- setSubjectTokenType(ExternalAccountCredentials.SubjectTokenTypes) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
Sets the Security Token Service subject token type based on the OAuth 2.0 token exchange spec.
- setSubjectTokenType(ExternalAccountCredentials.SubjectTokenTypes) - Method in class com.google.auth.oauth2.ExternalAccountSupplierContext.Builder
-
Sets the subject token type.
- setSubjectTokenType(ExternalAccountCredentials.SubjectTokenTypes) - Method in class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- setSubjectTokenType(ExternalAccountCredentials.SubjectTokenTypes) - Method in class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- setSubjectTokenType(String) - Method in class com.google.auth.oauth2.AwsCredentials.Builder
- setSubjectTokenType(String) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
Sets the Security Token Service subject token type based on the OAuth 2.0 token exchange spec.
- setSubjectTokenType(String) - Method in class com.google.auth.oauth2.ExternalAccountSupplierContext.Builder
-
Sets the subject token type.
- setSubjectTokenType(String) - Method in class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- setSubjectTokenType(String) - Method in class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- setTargetAudience(String) - Method in class com.google.auth.oauth2.IdTokenCredentials.Builder
- setTargetPrincipal(String) - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- setTitle(String) - Method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition.Builder
-
Sets the optional title that identifies the purpose of the condition.
- setTokenInfoUrl(String) - Method in class com.google.auth.oauth2.AwsCredentials.Builder
- setTokenInfoUrl(String) - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
-
Sets the token introspection endpoint used to retrieve account related information.
- setTokenInfoUrl(String) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
Sets the optional endpoint used to retrieve account related information.
- setTokenInfoUrl(String) - Method in class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- setTokenInfoUrl(String) - Method in class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- setTokenServerUri(URI) - Method in class com.google.auth.oauth2.GdchCredentials.Builder
- setTokenServerUri(URI) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- setTokenServerUri(URI) - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
-
Sets the token exchange endpoint.
- setTokenServerUri(URI) - Method in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig.Builder
- setTokenServerUri(URI) - Method in class com.google.auth.oauth2.UserCredentials.Builder
- setTokenStore(TokenStore) - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
-
Sets the
TokenStore
to use for long term token storage. - setTokenUrl(String) - Method in class com.google.auth.oauth2.AwsCredentials.Builder
- setTokenUrl(String) - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
-
Sets the token exchange endpoint.
- setTokenUrl(String) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
Sets the Security Token Service token exchange endpoint.
- setTokenUrl(String) - Method in class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- setTokenUrl(String) - Method in class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- setTokenValue(String) - Method in class com.google.auth.oauth2.AccessToken.Builder
- setTransport(String) - Method in class com.google.auth.oauth2.GdchCredentials.TransportFactoryForGdch
- setTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.ImpersonatedCredentials
- setUniverseDomain(String) - Method in class com.google.auth.oauth2.AwsCredentials.Builder
- setUniverseDomain(String) - Method in class com.google.auth.oauth2.ComputeEngineCredentials.Builder
- setUniverseDomain(String) - Method in class com.google.auth.oauth2.DownscopedCredentials.Builder
-
Sets the optional universe domain.
- setUniverseDomain(String) - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
-
Sets the optional universe domain.
- setUniverseDomain(String) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
Sets the optional universe domain.
- setUniverseDomain(String) - Method in class com.google.auth.oauth2.GoogleCredentials.Builder
- setUniverseDomain(String) - Method in class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- setUniverseDomain(String) - Method in class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- setUniverseDomain(String) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- setUrl(String) - Method in class com.google.auth.oauth2.AwsRequestSignature.Builder
- setUseJwtAccessWithScope(boolean) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
-
Sets the useJwtAccessWithScope flag.
- setUserAuthUri(URI) - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
-
Sets the authorization URI where the user is directed to log in and grant authorization.
- setWorkforcePoolUserProject(String) - Method in class com.google.auth.oauth2.AwsCredentials.Builder
- setWorkforcePoolUserProject(String) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
Sets the optional workforce pool user project number when the credential corresponds to a workforce pool and not a workload identity pool.
- setWorkforcePoolUserProject(String) - Method in class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- setWorkforcePoolUserProject(String) - Method in class com.google.auth.oauth2.PluggableAuthCredentials.Builder
- shouldBuildImpersonatedCredential() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
- shouldRefresh() - Method in class com.google.auth.oauth2.JwtCredentials
- shouldUseAssertionFlowForGdu() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- shouldUseMetadataServer() - Method in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- sign() - Method in class com.google.auth.oauth2.AwsRequestSigner
-
Signs the specified AWS API request.
- sign(byte[]) - Method in class com.google.auth.oauth2.AppEngineCredentials
- sign(byte[]) - Method in class com.google.auth.oauth2.ComputeEngineCredentials
-
Signs the provided bytes using the private key associated with the service account.
- sign(byte[]) - Method in class com.google.auth.oauth2.ImpersonatedCredentials
-
Signs the provided bytes using the private key associated with the impersonated service account
- sign(byte[]) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- sign(byte[]) - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- sign(byte[]) - Method in interface com.google.auth.ServiceAccountSigner
-
Signs the provided bytes using the private key associated with the service account.
- sign(byte[], byte[]) - Static method in class com.google.auth.oauth2.AwsRequestSigner
- sign(String, Credentials, HttpTransport, byte[], Map<String, ?>) - Static method in class com.google.auth.oauth2.IamUtils
-
Returns a signature for the provided bytes.
- SIGN_BLOB_ENDPOINT_FORMAT - Static variable in class com.google.auth.oauth2.OAuth2Utils
- SIGN_BLOB_URL_FORMAT - Static variable in class com.google.auth.oauth2.ComputeEngineCredentials
- SIGN_BLOB_URL_FORMAT - Static variable in class com.google.auth.oauth2.IamUtils
- SIGN_FOR_APP_METHOD - Static variable in class com.google.auth.oauth2.AppEngineCredentials
- signature - Variable in class com.google.auth.oauth2.AwsRequestSignature.Builder
- signature - Variable in class com.google.auth.oauth2.AwsRequestSignature
- SIGNATURE_ALGORITHM - Static variable in class com.google.auth.oauth2.OAuth2Utils
- signForApp - Variable in class com.google.auth.oauth2.AppEngineCredentials
- SIGNING_RESULT_CLASS - Static variable in class com.google.auth.oauth2.AppEngineCredentials
- SigningException(String, Exception) - Constructor for exception class com.google.auth.ServiceAccountSigner.SigningException
- SKIP_APP_ENGINE_ENV_VAR - Static variable in class com.google.auth.oauth2.DefaultCredentialsProvider
- skipAppEngineCredentialsCheck() - Method in class com.google.auth.oauth2.DefaultCredentialsProvider
- SOURCE_KEY - Static variable in class com.google.auth.oauth2.ExternalAccountMetricsHandler
- sourceCredential - Variable in class com.google.auth.oauth2.DownscopedCredentials.Builder
- sourceCredential - Variable in class com.google.auth.oauth2.DownscopedCredentials
- sourceCredentials - Variable in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- sourceCredentials - Variable in class com.google.auth.oauth2.ImpersonatedCredentials
- SPECIFICATION_VERSION - Static variable in class com.google.auth.oauth2.DefaultCredentialsProvider
- STALE - Enum constant in enum com.google.auth.oauth2.OAuth2Credentials.CacheState
- start() - Method in class com.google.auth.oauth2.PluggableAuthHandler.DefaultProcessBuilder
- start() - Method in class com.google.auth.oauth2.PluggableAuthHandler.InternalProcessBuilder
- store(String, String) - Method in class com.google.auth.oauth2.MemoryTokensStorage
- store(String, String) - Method in interface com.google.auth.oauth2.TokenStore
-
Put the token data into storage for the given ID.
- storeCredentials(String, UserCredentials) - Method in class com.google.auth.oauth2.UserAuthorizer
-
Puts the end user credentials in long term storage.
- StsRequestHandler - Class in com.google.auth.oauth2
-
Implements the OAuth 2.0 token exchange based on https://tools.ietf.org/html/rfc8693.
- StsRequestHandler(String, StsTokenExchangeRequest, HttpRequestFactory, HttpHeaders, String) - Constructor for class com.google.auth.oauth2.StsRequestHandler
-
Internal constructor.
- StsRequestHandler.Builder - Class in com.google.auth.oauth2
- StsTokenExchangeRequest - Class in com.google.auth.oauth2
-
Defines an OAuth 2.0 token exchange request.
- StsTokenExchangeRequest(String, String, ActingParty, List<String>, String, String, String, String) - Constructor for class com.google.auth.oauth2.StsTokenExchangeRequest
- StsTokenExchangeRequest.Builder - Class in com.google.auth.oauth2
- StsTokenExchangeResponse - Class in com.google.auth.oauth2
-
Defines an OAuth 2.0 token exchange successful response.
- StsTokenExchangeResponse(String, String, String, Long, String, List<String>) - Constructor for class com.google.auth.oauth2.StsTokenExchangeResponse
- StsTokenExchangeResponse.Builder - Class in com.google.auth.oauth2
- subject - Variable in class com.google.auth.oauth2.AutoValue_JwtClaims.Builder
- subject - Variable in class com.google.auth.oauth2.AutoValue_JwtClaims
- subjectToken - Variable in class com.google.auth.oauth2.ExecutableResponse
- subjectToken - Variable in class com.google.auth.oauth2.StsTokenExchangeRequest.Builder
- subjectToken - Variable in class com.google.auth.oauth2.StsTokenExchangeRequest
- subjectTokenFieldName - Variable in class com.google.auth.oauth2.IdentityPoolCredentialSource
- subjectTokenSupplier - Variable in class com.google.auth.oauth2.IdentityPoolCredentials.Builder
- subjectTokenSupplier - Variable in class com.google.auth.oauth2.IdentityPoolCredentials
- subjectTokenType - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
- subjectTokenType - Variable in class com.google.auth.oauth2.ExternalAccountCredentials
- subjectTokenType - Variable in class com.google.auth.oauth2.ExternalAccountSupplierContext.Builder
- subjectTokenType - Variable in class com.google.auth.oauth2.ExternalAccountSupplierContext
- subjectTokenType - Variable in class com.google.auth.oauth2.StsTokenExchangeRequest.Builder
- subjectTokenType - Variable in class com.google.auth.oauth2.StsTokenExchangeRequest
- SubjectTokenTypes(String) - Constructor for enum com.google.auth.oauth2.ExternalAccountCredentials.SubjectTokenTypes
- success - Variable in class com.google.auth.oauth2.ExecutableResponse
- supplierContext - Variable in class com.google.auth.oauth2.AwsCredentials
- supplierContext - Variable in class com.google.auth.oauth2.IdentityPoolCredentials
- SUPPORTED_ALGORITHMS - Static variable in class com.google.auth.oauth2.TokenVerifier
- SUPPORTED_FORMAT_VERSION - Static variable in class com.google.auth.oauth2.GdchCredentials
- SUPPRESS_GCLOUD_CREDS_WARNING_ENV_VAR - Static variable in class com.google.auth.oauth2.DefaultCredentialsProvider
- SystemEnvironmentProvider - Class in com.google.auth.oauth2
-
Represents the default system environment provider.
- SystemEnvironmentProvider() - Constructor for class com.google.auth.oauth2.SystemEnvironmentProvider
T
- targetAudience - Variable in class com.google.auth.oauth2.IdTokenCredentials.Builder
- targetAudience - Variable in class com.google.auth.oauth2.IdTokenCredentials
- targetPrincipal - Variable in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- targetPrincipal - Variable in class com.google.auth.oauth2.ImpersonatedCredentials
- task - Variable in class com.google.auth.oauth2.OAuth2Credentials.AsyncRefreshResult
- task - Variable in class com.google.auth.oauth2.OAuth2Credentials.RefreshTask
- task - Variable in class com.google.auth.oauth2.OAuth2Credentials.RefreshTaskListener
- temporaryAccess - Variable in class com.google.auth.oauth2.OAuth2Credentials.OAuthValue
- TEXT - Enum constant in enum com.google.auth.oauth2.IdentityPoolCredentialSource.CredentialFormatType
- TIMEOUT_MILLIS_KEY - Static variable in class com.google.auth.oauth2.PluggableAuthCredentialSource
- title - Variable in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition.Builder
- title - Variable in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition
- toBuilder() - Method in class com.google.auth.oauth2.AccessToken
- toBuilder() - Method in class com.google.auth.oauth2.ClientId
- toBuilder() - Method in class com.google.auth.oauth2.CloudShellCredentials
- toBuilder() - Method in class com.google.auth.oauth2.ComputeEngineCredentials
- toBuilder() - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- toBuilder() - Method in class com.google.auth.oauth2.GdchCredentials
- toBuilder() - Method in class com.google.auth.oauth2.GoogleCredentials
- toBuilder() - Method in class com.google.auth.oauth2.IdTokenCredentials
- toBuilder() - Method in class com.google.auth.oauth2.ImpersonatedCredentials
- toBuilder() - Method in class com.google.auth.oauth2.OAuth2Credentials
- toBuilder() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- toBuilder() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- toBuilder() - Method in class com.google.auth.oauth2.UserAuthorizer
- toBuilder() - Method in class com.google.auth.oauth2.UserCredentials
- toJson() - Method in class com.google.auth.oauth2.CredentialAccessBoundary
-
Internal method that returns the JSON string representation of the credential access boundary.
- TOKEN_ENDPOINT_RETRYABLE_STATUS_CODES - Static variable in class com.google.auth.oauth2.OAuth2Utils
- TOKEN_EXCHANGE_GRANT_TYPE - Static variable in class com.google.auth.oauth2.StsRequestHandler
- TOKEN_EXCHANGE_URL_FORMAT - Variable in class com.google.auth.oauth2.DownscopedCredentials
- TOKEN_LIFETIME_SECONDS_KEY - Static variable in class com.google.auth.oauth2.ExternalAccountCredentials.ServiceAccountImpersonationOptions
- TOKEN_RESPONSE_SCOPE - Static variable in class com.google.auth.oauth2.OAuth2Utils
- TOKEN_REVOKE_URI - Static variable in class com.google.auth.oauth2.OAuth2Utils
- TOKEN_SERVER_URI - Static variable in class com.google.auth.oauth2.OAuth2Utils
- TOKEN_STORE_ERROR - Variable in class com.google.auth.oauth2.UserAuthorizer
- TOKEN_TYPE_ACCESS_TOKEN - Static variable in class com.google.auth.oauth2.OAuth2Utils
- TOKEN_TYPE_TOKEN_EXCHANGE - Static variable in class com.google.auth.oauth2.OAuth2Utils
- tokenExchangeEndpoint - Variable in class com.google.auth.oauth2.DownscopedCredentials
- tokenExchangeEndpoint - Variable in class com.google.auth.oauth2.StsRequestHandler.Builder
- tokenExchangeEndpoint - Variable in class com.google.auth.oauth2.StsRequestHandler
- tokenInfoUrl - Variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
- tokenInfoUrl - Variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- tokenInfoUrl - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
- tokenInfoUrl - Variable in class com.google.auth.oauth2.ExternalAccountCredentials
- TokenResponseWithConfig(UserAuthorizer.TokenResponseWithConfig.Builder) - Constructor for class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig
- tokenServerUri - Variable in class com.google.auth.oauth2.GdchCredentials.Builder
- tokenServerUri - Variable in class com.google.auth.oauth2.GdchCredentials
- tokenServerUri - Variable in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- tokenServerUri - Variable in class com.google.auth.oauth2.ServiceAccountCredentials
- tokenServerUri - Variable in class com.google.auth.oauth2.UserAuthorizer.Builder
- tokenServerUri - Variable in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig.Builder
- tokenServerUri - Variable in class com.google.auth.oauth2.UserAuthorizer.TokenResponseWithConfig
- tokenServerUri - Variable in class com.google.auth.oauth2.UserAuthorizer
- tokenServerUri - Variable in class com.google.auth.oauth2.UserCredentials.Builder
- tokenServerUri - Variable in class com.google.auth.oauth2.UserCredentials
- tokensStorage - Variable in class com.google.auth.oauth2.MemoryTokensStorage
- tokenStore - Variable in class com.google.auth.oauth2.UserAuthorizer.Builder
- tokenStore - Variable in class com.google.auth.oauth2.UserAuthorizer
- TokenStore - Interface in com.google.auth.oauth2
-
Interface for long term storage of tokens
- tokenType - Variable in class com.google.auth.oauth2.ExecutableResponse
- tokenType - Variable in class com.google.auth.oauth2.StsTokenExchangeResponse.Builder
- tokenType - Variable in class com.google.auth.oauth2.StsTokenExchangeResponse
- tokenUrl - Variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
- tokenUrl - Variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- tokenUrl - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
- tokenUrl - Variable in class com.google.auth.oauth2.ExternalAccountCredentials
- tokenValue - Variable in class com.google.auth.oauth2.AccessToken.Builder
- tokenValue - Variable in class com.google.auth.oauth2.AccessToken
- TokenVerifier - Class in com.google.auth.oauth2
-
Handle verification of Google-signed JWT tokens.
- TokenVerifier(TokenVerifier.Builder) - Constructor for class com.google.auth.oauth2.TokenVerifier
- TokenVerifier.Builder - Class in com.google.auth.oauth2
- TokenVerifier.PublicKeyLoader - Class in com.google.auth.oauth2
-
Custom CacheLoader for mapping certificate urls to the contained public keys.
- TokenVerifier.PublicKeyLoader.JsonWebKey - Class in com.google.auth.oauth2
-
Data class used for deserializing a single JSON Web Key.
- TokenVerifier.PublicKeyLoader.JsonWebKeySet - Class in com.google.auth.oauth2
-
Data class used for deserializing a JSON Web Key Set (JWKS) from an external HTTP request.
- TokenVerifier.VerificationException - Exception Class in com.google.auth.oauth2
-
Custom exception for wrapping all verification errors.
- toString() - Method in class com.google.auth.oauth2.AccessToken
- toString() - Method in class com.google.auth.oauth2.AppEngineCredentials
- toString() - Method in class com.google.auth.oauth2.AutoValue_JwtClaims
- toString() - Method in class com.google.auth.oauth2.CloudShellCredentials
- toString() - Method in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- toString() - Method in class com.google.auth.oauth2.GdchCredentials
- toString() - Method in class com.google.auth.oauth2.GoogleCredentials
- toString() - Method in class com.google.auth.oauth2.IdToken
- toString() - Method in class com.google.auth.oauth2.IdTokenCredentials
- toString() - Method in class com.google.auth.oauth2.ImpersonatedCredentials
- toString() - Method in class com.google.auth.oauth2.OAuth2Credentials
- toString() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
- toString() - Method in class com.google.auth.oauth2.UserCredentials
- toStringHelper() - Method in class com.google.auth.oauth2.ComputeEngineCredentials
- toStringHelper() - Method in class com.google.auth.oauth2.GoogleCredentials
-
A helper for overriding the toString() method.
- toStringHelper() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
- transport - Variable in class com.google.auth.oauth2.GdchCredentials.TransportFactoryForGdch
- transportFactory - Variable in class com.google.auth.oauth2.ComputeEngineCredentials.Builder
- transportFactory - Variable in class com.google.auth.oauth2.ComputeEngineCredentials
- transportFactory - Variable in class com.google.auth.oauth2.DownscopedCredentials.Builder
- transportFactory - Variable in class com.google.auth.oauth2.DownscopedCredentials
- transportFactory - Variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials.Builder
- transportFactory - Variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- transportFactory - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
- transportFactory - Variable in class com.google.auth.oauth2.ExternalAccountCredentials
- transportFactory - Variable in class com.google.auth.oauth2.GdchCredentials.Builder
- transportFactory - Variable in class com.google.auth.oauth2.GdchCredentials
- transportFactory - Variable in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
- transportFactory - Variable in class com.google.auth.oauth2.ImpersonatedCredentials
- transportFactory - Variable in class com.google.auth.oauth2.InternalAwsSecurityCredentialsSupplier
- transportFactory - Variable in class com.google.auth.oauth2.SecureSessionAgent.Builder
- transportFactory - Variable in class com.google.auth.oauth2.SecureSessionAgent
- transportFactory - Variable in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- transportFactory - Variable in class com.google.auth.oauth2.ServiceAccountCredentials
- transportFactory - Variable in class com.google.auth.oauth2.UrlIdentityPoolSubjectTokenSupplier
- transportFactory - Variable in class com.google.auth.oauth2.UserAuthorizer.Builder
- transportFactory - Variable in class com.google.auth.oauth2.UserAuthorizer
- transportFactory - Variable in class com.google.auth.oauth2.UserCredentials.Builder
- transportFactory - Variable in class com.google.auth.oauth2.UserCredentials
- transportFactoryClassName - Variable in class com.google.auth.oauth2.ComputeEngineCredentials
- transportFactoryClassName - Variable in class com.google.auth.oauth2.ExternalAccountAuthorizedUserCredentials
- transportFactoryClassName - Variable in class com.google.auth.oauth2.ExternalAccountCredentials
- transportFactoryClassName - Variable in class com.google.auth.oauth2.GdchCredentials
- transportFactoryClassName - Variable in class com.google.auth.oauth2.ImpersonatedCredentials
- transportFactoryClassName - Variable in class com.google.auth.oauth2.ServiceAccountCredentials
- transportFactoryClassName - Variable in class com.google.auth.oauth2.UserCredentials
- TransportFactoryForGdch(String) - Constructor for class com.google.auth.oauth2.GdchCredentials.TransportFactoryForGdch
- tryGetAppEngineCredential() - Method in class com.google.auth.oauth2.DefaultCredentialsProvider
- tryGetCloudShellCredentials() - Method in class com.google.auth.oauth2.DefaultCredentialsProvider
- tryGetComputeCredentials(HttpTransportFactory) - Method in class com.google.auth.oauth2.DefaultCredentialsProvider
- TWELVE_HOURS_IN_SECONDS - Static variable in class com.google.auth.oauth2.ImpersonatedCredentials
- TWELVE_HOURS_IN_SECONDS - Static variable in class com.google.auth.oauth2.ServiceAccountCredentials
U
- universeDomain - Variable in class com.google.auth.oauth2.DownscopedCredentials.Builder
- universeDomain - Variable in class com.google.auth.oauth2.DownscopedCredentials
- universeDomain - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
Deprecated.
- universeDomain - Variable in class com.google.auth.oauth2.GoogleCredentials.Builder
- universeDomain - Variable in class com.google.auth.oauth2.GoogleCredentials
- universeDomainFromMetadata - Variable in class com.google.auth.oauth2.ComputeEngineCredentials
- UNTRACKED - Enum constant in enum com.google.auth.oauth2.MetricsUtils.RequestType
- unwrapDirectFuture(ListenableFuture<T>) - Static method in class com.google.auth.oauth2.OAuth2Credentials
-
Unwraps the value from the future.
- uri - Variable in class com.google.auth.oauth2.AwsRequestSigner
- url - Variable in class com.google.auth.oauth2.AwsCredentialSource
- url - Variable in class com.google.auth.oauth2.AwsRequestSignature.Builder
- url - Variable in class com.google.auth.oauth2.AwsRequestSignature
- url - Variable in class com.google.auth.oauth2.AwsRequestSigner.Builder
- URL - Enum constant in enum com.google.auth.oauth2.IdentityPoolCredentialSource.IdentityPoolCredentialSourceType
- URL_METRICS_HEADER_VALUE - Static variable in class com.google.auth.oauth2.IdentityPoolCredentials
- UrlIdentityPoolSubjectTokenSupplier - Class in com.google.auth.oauth2
-
Provider for retrieving subject tokens for
IdentityPoolCredentials
to exchange for GCP access tokens. - UrlIdentityPoolSubjectTokenSupplier(IdentityPoolCredentialSource, HttpTransportFactory) - Constructor for class com.google.auth.oauth2.UrlIdentityPoolSubjectTokenSupplier
-
Constructor for UrlIdentityPoolSubjectTokenProvider.
- use - Variable in class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader.JsonWebKey
- useJwtAccessWithScope - Variable in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
- useJwtAccessWithScope - Variable in class com.google.auth.oauth2.ServiceAccountCredentials
- USER_AUTH_URI - Static variable in class com.google.auth.oauth2.OAuth2Utils
- USER_CREDENTIALS - Enum constant in enum com.google.auth.CredentialTypeForMetrics
- USER_FILE_TYPE - Static variable in class com.google.auth.oauth2.GoogleCredentials
- UserAuthorizer - Class in com.google.auth.oauth2
-
Handles an interactive 3-Legged-OAuth2 (3LO) user consent authorization.
- UserAuthorizer(UserAuthorizer.Builder) - Constructor for class com.google.auth.oauth2.UserAuthorizer
-
Internal constructor.
- UserAuthorizer.Builder - Class in com.google.auth.oauth2
- UserAuthorizer.ClientAuthenticationType - Enum in com.google.auth.oauth2
-
Represents the client authentication types as specified in RFC 7591.
- UserAuthorizer.TokenResponseWithConfig - Class in com.google.auth.oauth2
-
Represents the response from an OAuth token exchange, including configuration details used to initiate the flow.
- UserAuthorizer.TokenResponseWithConfig.Builder - Class in com.google.auth.oauth2
- UserAuthorizer.UserCredentialsListener - Class in com.google.auth.oauth2
-
Implementation of listener used by monitorCredentials to rewrite the credentials when the tokens are refreshed.
- userAuthUri - Variable in class com.google.auth.oauth2.UserAuthorizer.Builder
- userAuthUri - Variable in class com.google.auth.oauth2.UserAuthorizer
- UserCredentials - Class in com.google.auth.oauth2
-
OAuth2 Credentials representing a user's identity and consent.
- UserCredentials(UserCredentials.Builder) - Constructor for class com.google.auth.oauth2.UserCredentials
-
Internal constructor
- UserCredentials.Builder - Class in com.google.auth.oauth2
- UserCredentialsListener(String) - Constructor for class com.google.auth.oauth2.UserAuthorizer.UserCredentialsListener
-
Construct new listener.
- userId - Variable in class com.google.auth.oauth2.UserAuthorizer.UserCredentialsListener
V
- validateField(String, String) - Static method in class com.google.auth.oauth2.GdchCredentials
- validateInt32(Map<String, Object>, String, String) - Static method in class com.google.auth.oauth2.OAuth2Utils
-
Return the specified integer from JSON or throw a helpful error message.
- validateLong(Map<String, Object>, String, String) - Static method in class com.google.auth.oauth2.OAuth2Utils
-
Return the specified long from JSON or throw a helpful error message.
- validateMap(Map<String, Object>, String, String) - Static method in class com.google.auth.oauth2.OAuth2Utils
-
Return the specified map from JSON or throw a helpful error message.
- validateOptionalListString(Map<String, Object>, String, String) - Static method in class com.google.auth.oauth2.OAuth2Utils
-
Return the specified list of strings from JSON or throw a helpful error message.
- validateOptionalString(Map<String, Object>, String, String) - Static method in class com.google.auth.oauth2.OAuth2Utils
-
Return the specified optional string from JSON or throw a helpful error message.
- validateServiceAccountImpersonationInfoUrl(String) - Static method in class com.google.auth.oauth2.ExternalAccountCredentials
- validateString(Map<String, Object>, String, String) - Static method in class com.google.auth.oauth2.OAuth2Utils
-
Return the specified string from JSON or throw a helpful error message.
- validateTokenUrl(String) - Static method in class com.google.auth.oauth2.ExternalAccountCredentials
- value - Variable in enum com.google.auth.oauth2.ExternalAccountCredentials.SubjectTokenTypes
- value - Variable in class com.google.auth.oauth2.OAuth2Credentials
- VALUE_NOT_FOUND_MESSAGE - Static variable in class com.google.auth.oauth2.OAuth2Utils
- VALUE_WRONG_TYPE_MESSAGE - Static variable in class com.google.auth.oauth2.OAuth2Utils
- valueOf(String) - Static method in enum com.google.auth.CredentialTypeForMetrics
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.auth.oauth2.ExternalAccountCredentials.SubjectTokenTypes
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.auth.oauth2.IdentityPoolCredentialSource.CredentialFormatType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.auth.oauth2.IdentityPoolCredentialSource.IdentityPoolCredentialSourceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.auth.oauth2.IdTokenProvider.Option
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.auth.oauth2.MetricsUtils.RequestType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.auth.oauth2.OAuth2Credentials.CacheState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.auth.oauth2.UserAuthorizer.ClientAuthenticationType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.google.auth.CredentialTypeForMetrics
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.auth.oauth2.ExternalAccountCredentials.SubjectTokenTypes
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.auth.oauth2.IdentityPoolCredentialSource.CredentialFormatType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.auth.oauth2.IdentityPoolCredentialSource.IdentityPoolCredentialSourceType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.auth.oauth2.IdTokenProvider.Option
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.auth.oauth2.MetricsUtils.RequestType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.auth.oauth2.OAuth2Credentials.CacheState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.google.auth.oauth2.UserAuthorizer.ClientAuthenticationType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VerificationException(String) - Constructor for exception class com.google.auth.oauth2.TokenVerifier.VerificationException
- VerificationException(String, Throwable) - Constructor for exception class com.google.auth.oauth2.TokenVerifier.VerificationException
- verify(String) - Method in class com.google.auth.oauth2.TokenVerifier
-
Verify an encoded JWT token.
- version - Variable in class com.google.auth.oauth2.ExecutableResponse
- VM_CREDENTIALS - Enum constant in enum com.google.auth.CredentialTypeForMetrics
W
- warnAboutProblematicCredentials(GoogleCredentials) - Method in class com.google.auth.oauth2.DefaultCredentialsProvider
- WELL_KNOWN_CREDENTIALS_FILE - Static variable in class com.google.auth.oauth2.DefaultCredentialsProvider
- WINDOWS - Static variable in class com.google.auth.oauth2.ComputeEngineCredentials
- workforcePoolUserProject - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
- workforcePoolUserProject - Variable in class com.google.auth.oauth2.ExternalAccountCredentials
- writeInputStreamToFile(InputStream, String) - Static method in class com.google.auth.oauth2.OAuth2Utils
-
Saves the end user credentials into the given file path.
- writeObject(ObjectOutputStream) - Method in class com.google.auth.oauth2.IdToken
X
- x - Variable in class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader.JsonWebKey
- X_AMZ_DATE_FORMAT - Static variable in class com.google.auth.oauth2.AwsDates
- xAmzDate - Variable in class com.google.auth.oauth2.AwsDates
Y
- y - Variable in class com.google.auth.oauth2.TokenVerifier.PublicKeyLoader.JsonWebKey
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Builder(ImpersonatedCredentials)
instead. This constructor will be removed in a future release.