Skip navigation links
A B C E G H I O R S V 

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 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.

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(URI) - Method in class com.google.auth.ApiKeyCredentials
 
getRequestMetadata() - Method in class com.google.auth.Credentials
Get the current request metadata, refreshing tokens if required.
getRequestMetadata(URI, Executor, RequestMetadataCallback) - Method in class com.google.auth.Credentials
Get the current request metadata without blocking.
getRequestMetadata(URI) - Method in class com.google.auth.Credentials
Get the current request metadata in a blocking manner, refreshing tokens if required.
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

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 getRequestMetadata(java.net.URI, java.util.concurrent.Executor, RequestMetadataCallback).
Retryable - Interface in com.google.auth
 

S

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
 

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.
A B C E G H I O R S V 
Skip navigation links

Copyright © 2024 Google. All rights reserved.