Uses of Class
com.google.api.client.auth.oauth2.TokenErrorResponse
Packages that use TokenErrorResponse
-
Uses of TokenErrorResponse in com.google.api.client.auth.oauth2
Fields in com.google.api.client.auth.oauth2 declared as TokenErrorResponseModifier and TypeFieldDescriptionprivate final TokenErrorResponse
TokenResponseException.details
Token error response details ornull
if unable to parse.Methods in com.google.api.client.auth.oauth2 that return TokenErrorResponseModifier and TypeMethodDescriptionTokenErrorResponse.clone()
final TokenErrorResponse
TokenResponseException.getDetails()
Returns the token error response details ornull
if unable to parse.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.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.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 TokenErrorResponseModifier and TypeMethodDescriptionvoid
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) Constructors in com.google.api.client.auth.oauth2 with parameters of type TokenErrorResponseModifierConstructorDescription(package private)
TokenResponseException
(com.google.api.client.http.HttpResponseException.Builder builder, TokenErrorResponse details)