Package com.google.cloud
Class NoCredentials
java.lang.Object
com.google.auth.Credentials
com.google.auth.oauth2.OAuth2Credentials
com.google.cloud.NoCredentials
- All Implemented Interfaces:
Serializable
public class NoCredentials
extends com.google.auth.oauth2.OAuth2Credentials
A placeholder for credentials to signify that requests sent to the server should not be
authenticated. This is typically useful when using local service emulators.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.auth.oauth2.OAuth2Credentials
com.google.auth.oauth2.OAuth2Credentials.Builder, com.google.auth.oauth2.OAuth2Credentials.CredentialsChangedListener -
Field Summary
Fields inherited from class com.google.auth.Credentials
GOOGLE_DEFAULT_UNIVERSE -
Method Summary
Methods inherited from class com.google.auth.oauth2.OAuth2Credentials
addChangeListener, create, getAccessToken, getAdditionalHeaders, getAuthenticationType, getFromServiceLoader, getRequestMetadata, getRequestMetadata, getRequestMetadataInternal, hasRequestMetadata, hasRequestMetadataOnly, newBuilder, newInstance, refresh, refreshAccessToken, refreshIfExpired, removeChangeListener, toBuilder, toStringMethods inherited from class com.google.auth.Credentials
blockingGetToCallback, getMetricsCredentialType, getRequestMetadata, getUniverseDomain
-
Method Details
-
getInstance
-
equals
- Overrides:
equalsin classcom.google.auth.oauth2.OAuth2Credentials
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.google.auth.oauth2.OAuth2Credentials
-