Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ApiKeyCredentials - Class in com.google.auth
-
Credentials class for calling Google APIs using an API key.
B
- blockingGetToCallback(URI, RequestMetadataCallback) - Method in class com.google.auth.Credentials
-
Call
Credentials.getRequestMetadata(URI)and pass the result or error to the callback.
C
- com.google.auth - package com.google.auth
- create(String) - Static method in class com.google.auth.ApiKeyCredentials
- Credentials - Class in com.google.auth
-
Represents an abstract authorized identity instance.
- Credentials() - Constructor for class com.google.auth.Credentials
- CredentialTypeForMetrics - Enum in com.google.auth
-
Defines the different types of credentials that can be used for metrics.
D
- DO_NOT_SEND - Enum constant in enum com.google.auth.CredentialTypeForMetrics
E
- equals(Object) - Method in exception com.google.auth.ServiceAccountSigner.SigningException
G
- getAccount() - Method in interface com.google.auth.ServiceAccountSigner
-
Returns the service account associated with the signer.
- getAuthenticationType() - Method in class com.google.auth.ApiKeyCredentials
- getAuthenticationType() - Method in class com.google.auth.Credentials
-
A constant string name describing the authentication technology.
- getLabel() - Method in enum com.google.auth.CredentialTypeForMetrics
- getMetricsCredentialType() - Method in class com.google.auth.Credentials
-
Gets the credential type used for internal metrics header.
- 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, Executor, RequestMetadataCallback) - Method in class com.google.auth.Credentials
-
Get the current request metadata without blocking.
- getRetryCount() - Method in interface com.google.auth.Retryable
-
Gets a number of performed retries for related HttpRequest
- getUniverseDomain() - Method in class com.google.auth.Credentials
-
Gets the universe domain for the credential in a blocking manner, refreshing tokens if required.
- GOOGLE_DEFAULT_UNIVERSE - Static variable in class com.google.auth.Credentials
H
- hashCode() - Method in exception com.google.auth.ServiceAccountSigner.SigningException
- 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.
- 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.
I
- IMPERSONATED_CREDENTIALS - Enum constant in enum com.google.auth.CredentialTypeForMetrics
- isRetryable() - Method in interface com.google.auth.Retryable
-
A flag indicating whether the error is retryable
O
- onFailure(Throwable) - Method in interface com.google.auth.RequestMetadataCallback
-
Called when metadata generation failed.
- onSuccess(Map<String, List<String>>) - Method in interface com.google.auth.RequestMetadataCallback
-
Called when metadata is successfully produced.
R
- 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.
- 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). - Retryable - Interface in com.google.auth
S
- SERVICE_ACCOUNT_CREDENTIALS_AT - Enum constant in enum com.google.auth.CredentialTypeForMetrics
- SERVICE_ACCOUNT_CREDENTIALS_JWT - Enum constant in enum com.google.auth.CredentialTypeForMetrics
- ServiceAccountSigner - Interface in com.google.auth
-
Interface for a service account signer.
- ServiceAccountSigner.SigningException - Exception in com.google.auth
- sign(byte[]) - Method in interface com.google.auth.ServiceAccountSigner
-
Signs the provided bytes using the private key associated with the service account.
- SigningException(String, Exception) - Constructor for exception com.google.auth.ServiceAccountSigner.SigningException
U
- USER_CREDENTIALS - Enum constant in enum com.google.auth.CredentialTypeForMetrics
V
- valueOf(String) - Static method in enum com.google.auth.CredentialTypeForMetrics
-
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.
- VM_CREDENTIALS - Enum constant in enum com.google.auth.CredentialTypeForMetrics
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form