Class NoCredentials (2.25.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
TypeDescription
NoCredentials

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides
com.google.auth.oauth2.OAuth2Credentials.equals(java.lang.Object)

hashCode()

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