- ClientId - Class in com.google.auth.oauth2
-
An OAuth2 user authorization Client ID and associated information.
- clientId - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
- ClientId.Builder - Class in com.google.auth.oauth2
-
- clientSecret - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
- CloudShellCredentials - Class in com.google.auth.oauth2
-
OAuth2 credentials representing the built-in service account for Google Cloud Shell.
- CloudShellCredentials.Builder - Class in com.google.auth.oauth2
-
- com.google.auth.http - package com.google.auth.http
-
- com.google.auth.oauth2 - package com.google.auth.oauth2
-
- ComputeEngineCredentials - Class in com.google.auth.oauth2
-
OAuth2 credentials representing the built-in service account for a Google Compute Engine VM.
- ComputeEngineCredentials.Builder - Class in com.google.auth.oauth2
-
- create() - Method in interface com.google.auth.http.HttpTransportFactory
-
Creates a HttpTransport instance.
- create(int) - Static method in class com.google.auth.oauth2.CloudShellCredentials
-
- create() - Static method in class com.google.auth.oauth2.ComputeEngineCredentials
-
Create a new ComputeEngineCredentials instance with default behavior.
- create(AccessToken) - Static method in class com.google.auth.oauth2.GoogleCredentials
-
Returns the credentials instance from the given access token.
- 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(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) - Static method in class com.google.auth.oauth2.ImpersonatedCredentials
-
- create(AccessToken) - Static method in class com.google.auth.oauth2.OAuth2Credentials
-
Returns the credentials instance from the given access token.
- 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
-
- 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>, 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 the identity with the specified
scopes; otherwise, returns the same instance.
- createScoped(Collection<String>, Collection<String>) - Method in class com.google.auth.oauth2.GoogleCredentials
-
If the credentials support scopes, creates a copy of the the identity with the specified scopes
and default scopes; otherwise, returns the same instance.
- createScoped(String...) - Method in class com.google.auth.oauth2.GoogleCredentials
-
If the credentials support scopes, creates a copy of the the identity with the specified
scopes; otherwise, returns 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.ServiceAccountCredentials
-
Clones the service account with the specified scopes.
- 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.GoogleCredentials
-
- 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.
- createWithCustomLifetime(int) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Clones the service account with a new lifetime value.
- createWithUseJwtAccessWithScope(boolean) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
Clones the service account with a new useJwtAccessWithScope value.
- CredentialAccessBoundary - Class in com.google.auth.oauth2
-
- 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
-
- 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
-
- credentialSource - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
- fromJson(Map<String, Object>) - Static method in class com.google.auth.oauth2.ClientId
-
Constructs a Client ID from JSON from a downloaded file.
- 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>, 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>, 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>, 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) - 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.
- 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.ExternalAccountCredentials
-
Returns 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) - 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.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, 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) - 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, 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.
- 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.UserCredentials
-
Returns credentials defined by a JSON file stream using the format supported by the Cloud SDK.
- 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
-
- getAccessBoundaryRules() - Method in class com.google.auth.oauth2.CredentialAccessBoundary
-
- getAccessToken() - Method in class com.google.auth.oauth2.OAuth2Credentials.Builder
-
- getAccessToken() - Method in class com.google.auth.oauth2.OAuth2Credentials
-
Returns the cached access token.
- 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
-
- getAdditionalHeaders() - Method in class com.google.auth.oauth2.ImpersonatedCredentials
-
- getAdditionalHeaders() - Method in class com.google.auth.oauth2.OAuth2Credentials
-
Provide additional headers to return as request metadata.
- getAdditionalHeaders() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
- getAdditionalHeaders() - Method in class com.google.auth.oauth2.UserCredentials
-
- getAndStoreCredentialsFromCode(String, String, URI) - Method in class com.google.auth.oauth2.UserAuthorizer
-
Exchanges an authorization code for tokens and stores them.
- 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.ExternalAccountCredentials
-
- 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
-
- getAuthorizationUrl(String, String, URI) - Method in class com.google.auth.oauth2.UserAuthorizer
-
Return an 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
-
- 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.
- 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.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.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.ExternalAccountCredentials
-
- 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.
- 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(String) - Method in class com.google.auth.oauth2.UserAuthorizer
-
Attempts to retrieve credentials for the approved end user consent.
- getCredentialsFromCode(String, URI) - Method in class com.google.auth.oauth2.UserAuthorizer
-
Returns a UserCredentials instance by exchanging an OAuth2 authorization code for tokens.
- getCredentialSource() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
-
- getDefaultAudience() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
-
- getDefaultScopes() - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
-
- getDefaultScopes() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
- getDelegates() - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
-
- getDescription() - Method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition
-
- getExpirationTime() - Method in class com.google.auth.oauth2.AccessToken
-
Time when access token will expire.
- getExpression() - Method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition
-
- getFromServiceLoader(Class<? extends T>, T) - Static method in class com.google.auth.oauth2.OAuth2Credentials
-
- getHttpTransportFactory() - Method in class com.google.auth.oauth2.ComputeEngineCredentials.Builder
-
- getHttpTransportFactory() - Method in class com.google.auth.oauth2.ImpersonatedCredentials.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.UserCredentials.Builder
-
- getIdentityDocumentUrl() - Static method in class com.google.auth.oauth2.ComputeEngineCredentials
-
- getIdToken() - Method in class com.google.auth.oauth2.IdTokenCredentials
-
- getIdTokenProvider() - Method in class com.google.auth.oauth2.IdTokenCredentials.Builder
-
- getJwtClaims() - Method in class com.google.auth.oauth2.JwtCredentials.Builder
-
- getLifeSpanSeconds() - Method in class com.google.auth.oauth2.JwtCredentials.Builder
-
- getLifetime() - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
-
- getLifetime() - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
-
- getMetadataServerUrl(DefaultCredentialsProvider) - Static method in class com.google.auth.oauth2.ComputeEngineCredentials
-
- getMetadataServerUrl() - Static method in class com.google.auth.oauth2.ComputeEngineCredentials
-
- getOption() - Method in enum com.google.auth.oauth2.IdTokenProvider.Option
-
- getOptions() - Method in class com.google.auth.oauth2.IdTokenCredentials.Builder
-
- 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.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
-
- getProjectId() - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
-
- getProjectId() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
- getQuotaProjectId() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
-
- getQuotaProjectId() - Method in class com.google.auth.oauth2.ImpersonatedCredentials
-
- getQuotaProjectId() - Method in interface com.google.auth.oauth2.QuotaProjectIdProvider
-
- getQuotaProjectId() - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
-
- getQuotaProjectId() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
- getQuotaProjectId() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
-
- getQuotaProjectId() - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
-
- getQuotaProjectId() - Method in class com.google.auth.oauth2.UserCredentials.Builder
-
- getQuotaProjectId() - Method in class com.google.auth.oauth2.UserCredentials
-
- getRefreshHandler() - Method in class com.google.auth.oauth2.OAuth2CredentialsWithRefresh
-
- 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.
- getRequestMetadata(URI, Executor, RequestMetadataCallback) - Method in class com.google.auth.oauth2.ExternalAccountCredentials
-
- getRequestMetadata(URI) - Method in class com.google.auth.oauth2.ExternalAccountCredentials
-
- getRequestMetadata(URI) - Method in class com.google.auth.oauth2.JwtCredentials
-
- getRequestMetadata(URI, Executor, RequestMetadataCallback) - Method in class com.google.auth.oauth2.OAuth2Credentials
-
- 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, Executor, RequestMetadataCallback) - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
- 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, Executor, RequestMetadataCallback) - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
-
- getRequestMetadata(URI) - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials
-
Provide the request metadata by putting an access JWT directly in the metadata.
- getRequestMetadataInternal() - Method in class com.google.auth.oauth2.OAuth2Credentials
-
- 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.ServiceAccountCredentials.Builder
-
- getScopes() - Method in class com.google.auth.oauth2.ServiceAccountCredentials
-
- 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.
- 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
-
- 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
-
- getSubjectTokenType() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
-
- getTargetAudience() - Method in class com.google.auth.oauth2.IdTokenCredentials.Builder
-
- getTargetPrincipal() - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
-
- getTitle() - Method in class com.google.auth.oauth2.CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition
-
- getTokenInfoUrl() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
-
- getTokenServerEncodedUrl(DefaultCredentialsProvider) - Static method in class com.google.auth.oauth2.ComputeEngineCredentials
-
- getTokenServerEncodedUrl() - Static method in class com.google.auth.oauth2.ComputeEngineCredentials
-
- 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.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.
- getTokenUrl() - Method in class com.google.auth.oauth2.ExternalAccountCredentials
-
- getTokenValue() - Method in class com.google.auth.oauth2.AccessToken
-
String representation of the access token.
- 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
-
- 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
-
Constructor with explicit access token.
- GoogleCredentials.Builder - Class in com.google.auth.oauth2
-
- 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.ExternalAccountCredentials.Builder
-
- ServiceAccountCredentials - Class in com.google.auth.oauth2
-
OAuth2 credentials representing a Service Account for calling Google APIs.
- ServiceAccountCredentials.Builder - Class in com.google.auth.oauth2
-
- serviceAccountImpersonationUrl - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
- ServiceAccountJwtAccessCredentials - Class in com.google.auth.oauth2
-
Service Account credentials for calling Google APIs using a JWT directly for access.
- ServiceAccountJwtAccessCredentials.Builder - Class in com.google.auth.oauth2
-
- 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
-
- setAccessToken(AccessToken) - Method in class com.google.auth.oauth2.UserCredentials.Builder
-
- setAdditionalClaims(Map<String, String>) - Method in class com.google.auth.oauth2.JwtClaims.Builder
-
- setAudience(String) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
- setAudience(String) - Method in class com.google.auth.oauth2.JwtClaims.Builder
-
- setAudience(String) - Method in class com.google.auth.oauth2.TokenVerifier.Builder
-
Set a target audience to verify.
- 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.
- setCallbackUri(URI) - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
-
- setCertificatesLocation(String) - Method in class com.google.auth.oauth2.TokenVerifier.Builder
-
Override the location URL that contains published public keys.
- setClientEmail(String) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
-
- setClientEmail(String) - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
-
- setClientId(String) - Method in class com.google.auth.oauth2.ClientId.Builder
-
- setClientId(String) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
- setClientId(String) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
-
- setClientId(String) - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.Builder
-
- setClientId(ClientId) - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
-
- setClientId(String) - Method in class com.google.auth.oauth2.UserCredentials.Builder
-
- setClientSecret(String) - Method in class com.google.auth.oauth2.ClientId.Builder
-
- setClientSecret(String) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
- setClientSecret(String) - Method in class com.google.auth.oauth2.UserCredentials.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
-
- setCredentialSource(ExternalAccountCredentials.CredentialSource) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
- setDefaultAudience(URI) - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.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.
- 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.
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.ComputeEngineCredentials.Builder
-
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.DownscopedCredentials.Builder
-
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.ImpersonatedCredentials.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
-
- setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.UserCredentials.Builder
-
- setIdTokenProvider(IdTokenProvider) - Method in class com.google.auth.oauth2.IdTokenCredentials.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
-
- setOptions(List<IdTokenProvider.Option>) - Method in class com.google.auth.oauth2.IdTokenCredentials.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.JwtCredentials.Builder
-
- setPrivateKeyId(String) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
-
- setPrivateKeyId(String) - Method in class com.google.auth.oauth2.ServiceAccountJwtAccessCredentials.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.ExternalAccountCredentials.Builder
-
- setQuotaProjectId(String) - Method in class com.google.auth.oauth2.ImpersonatedCredentials.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
-
- setRefreshToken(String) - Method in class com.google.auth.oauth2.UserCredentials.Builder
-
- setRules(List<CredentialAccessBoundary.AccessBoundaryRule>) - Method in class com.google.auth.oauth2.CredentialAccessBoundary.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
-
- setScopes(List<String>) - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
-
- setScopes(Collection<String>) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
-
- setScopes(Collection<String>, Collection<String>) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
-
- setScopes(Collection<String>) - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
-
- setServiceAccountImpersonationUrl(String) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
- setServiceAccountUser(String) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
-
- setSourceCredential(GoogleCredentials) - Method in class com.google.auth.oauth2.DownscopedCredentials.Builder
-
- setSourceCredentials(GoogleCredentials) - Method in class com.google.auth.oauth2.ImpersonatedCredentials.Builder
-
- setSubject(String) - Method in class com.google.auth.oauth2.JwtClaims.Builder
-
- setSubjectTokenType(String) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.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.ExternalAccountCredentials.Builder
-
- setTokenServerUri(URI) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
-
- setTokenServerUri(URI) - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
-
- setTokenServerUri(URI) - Method in class com.google.auth.oauth2.UserCredentials.Builder
-
- setTokenStore(TokenStore) - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
-
- setTokenUrl(String) - Method in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-
- setTransportFactory(HttpTransportFactory) - Method in class com.google.auth.oauth2.ImpersonatedCredentials
-
- setUseJwtAccessWithScope(boolean) - Method in class com.google.auth.oauth2.ServiceAccountCredentials.Builder
-
- setUserAuthUri(URI) - Method in class com.google.auth.oauth2.UserAuthorizer.Builder
-
- 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
-
- 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.
- subjectTokenType - Variable in class com.google.auth.oauth2.ExternalAccountCredentials.Builder
-