Package | Description |
---|---|
com.google.api.client.auth.oauth2 |
Implementation of the OAuth 2.0 Authorization
Framework.
|
Modifier and Type | Method and Description |
---|---|
TokenErrorResponse |
TokenErrorResponse.clone() |
TokenErrorResponse |
TokenResponseException.getDetails()
Returns the token error response details or
null 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 or
null 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 or
null for
none. |
Modifier and Type | Method and Description |
---|---|
void |
DataStoreCredentialRefreshListener.onTokenErrorResponse(Credential credential,
TokenErrorResponse tokenErrorResponse) |
void |
CredentialStoreRefreshListener.onTokenErrorResponse(Credential credential,
TokenErrorResponse tokenErrorResponse)
Deprecated.
|
void |
CredentialRefreshListener.onTokenErrorResponse(Credential credential,
TokenErrorResponse tokenErrorResponse)
Notifies of an error token response from
Credential.refreshToken() . |
Copyright © 2011–2022 Google. All rights reserved.