public class NoCredentials extends 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.
Inheritance
Object > com.google.auth.Credentials > com.google.auth.oauth2.OAuth2Credentials > NoCredentialsInherited Members
com.google.auth.Credentials.blockingGetToCallback(java.net.URI,com.google.auth.RequestMetadataCallback)
com.google.auth.Credentials.getMetricsCredentialType()
com.google.auth.Credentials.getRequestMetadata()
com.google.auth.Credentials.getUniverseDomain()
com.google.auth.oauth2.OAuth2Credentials.<T>getFromServiceLoader(java.lang.Class<? extends T>,T)
com.google.auth.oauth2.OAuth2Credentials.<T>newInstance(java.lang.String)
com.google.auth.oauth2.OAuth2Credentials.addChangeListener(com.google.auth.oauth2.OAuth2Credentials.CredentialsChangedListener)
com.google.auth.oauth2.OAuth2Credentials.create(com.google.auth.oauth2.AccessToken)
com.google.auth.oauth2.OAuth2Credentials.equals(java.lang.Object)
com.google.auth.oauth2.OAuth2Credentials.getAccessToken()
com.google.auth.oauth2.OAuth2Credentials.getAdditionalHeaders()
com.google.auth.oauth2.OAuth2Credentials.getAuthenticationType()
com.google.auth.oauth2.OAuth2Credentials.getRequestMetadata(java.net.URI)
com.google.auth.oauth2.OAuth2Credentials.getRequestMetadata(java.net.URI,java.util.concurrent.Executor,com.google.auth.RequestMetadataCallback)
com.google.auth.oauth2.OAuth2Credentials.getRequestMetadataInternal()
com.google.auth.oauth2.OAuth2Credentials.hasRequestMetadata()
com.google.auth.oauth2.OAuth2Credentials.hasRequestMetadataOnly()
com.google.auth.oauth2.OAuth2Credentials.hashCode()
com.google.auth.oauth2.OAuth2Credentials.newBuilder()
com.google.auth.oauth2.OAuth2Credentials.refresh()
com.google.auth.oauth2.OAuth2Credentials.refreshAccessToken()
com.google.auth.oauth2.OAuth2Credentials.refreshIfExpired()
com.google.auth.oauth2.OAuth2Credentials.removeChangeListener(com.google.auth.oauth2.OAuth2Credentials.CredentialsChangedListener)
com.google.auth.oauth2.OAuth2Credentials.toBuilder()
com.google.auth.oauth2.OAuth2Credentials.toString()
Static Methods
getInstance()
public static NoCredentials getInstance()
Returns | |
---|---|
Type | Description |
NoCredentials |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
com.google.auth.oauth2.OAuth2Credentials.equals(java.lang.Object)
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
com.google.auth.oauth2.OAuth2Credentials.hashCode()