Class NoCredentials (2.40.0)

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

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
Overrides
com.google.auth.oauth2.OAuth2Credentials.equals(java.lang.Object)

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides
com.google.auth.oauth2.OAuth2Credentials.hashCode()