Uses of Class
com.google.api.client.auth.oauth2.TokenErrorResponse
-
Packages that use TokenErrorResponse Package Description com.google.api.client.auth.oauth2 Implementation of the OAuth 2.0 Authorization Framework. -
-
Uses of TokenErrorResponse in com.google.api.client.auth.oauth2
Methods in com.google.api.client.auth.oauth2 that return TokenErrorResponse Modifier and Type Method Description TokenErrorResponse
TokenErrorResponse. clone()
TokenErrorResponse
TokenResponseException. getDetails()
Returns the token error response details ornull
if unable to parse.TokenErrorResponse
TokenErrorResponse. set(String fieldName, Object value)
TokenErrorResponse
TokenErrorResponse. setError(String error)
Sets the error code ("invalid_request"
,"invalid_client"
,"invalid_grant"
,"unauthorized_client"
,"unsupported_grant_type"
,"invalid_scope"
, or an extension error code as specified in Defining Additional Error Codes).TokenErrorResponse
TokenErrorResponse. setErrorDescription(String errorDescription)
Sets the human-readable text providing additional information, used to assist the client developer in understanding the error that occurred ornull
for none.TokenErrorResponse
TokenErrorResponse. setErrorUri(String errorUri)
Sets the URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error ornull
for none.Methods in com.google.api.client.auth.oauth2 with parameters of type TokenErrorResponse Modifier and Type Method Description void
CredentialRefreshListener. onTokenErrorResponse(Credential credential, TokenErrorResponse tokenErrorResponse)
Notifies of an error token response fromCredential.refreshToken()
.void
CredentialStoreRefreshListener. onTokenErrorResponse(Credential credential, TokenErrorResponse tokenErrorResponse)
Deprecated.void
DataStoreCredentialRefreshListener. onTokenErrorResponse(Credential credential, TokenErrorResponse tokenErrorResponse)
-