Uses of Class
com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
Packages that use AuthorizationCodeResponseUrl
Package
Description
Implementation of the OAuth 2.0 Authorization
Framework.
OAuth 2.0 utilities that help simplify the authorization flow in HTTP servlets.
-
Uses of AuthorizationCodeResponseUrl in com.google.api.client.auth.oauth2
Methods in com.google.api.client.auth.oauth2 that return AuthorizationCodeResponseUrlModifier and TypeMethodDescriptionAuthorizationCodeResponseUrl.clone()
Sets the authorization code generated by the authorization server ornull
for none.Sets the error code ("invalid_request"
,"unauthorized_client"
,"access_denied"
,"unsupported_response_type"
,"invalid_scope"
,"server_error"
,"temporarily_unavailable"
, or an extension error code as specified in Defining Additional Error Codes) ornull
for none.AuthorizationCodeResponseUrl.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.AuthorizationCodeResponseUrl.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.Sets the state parameter matching the state parameter in the authorization request ornull
for none. -
Uses of AuthorizationCodeResponseUrl in com.google.api.client.extensions.servlet.auth.oauth2
Methods in com.google.api.client.extensions.servlet.auth.oauth2 with parameters of type AuthorizationCodeResponseUrlModifier and TypeMethodDescriptionprotected void
AbstractAuthorizationCodeCallbackServlet.onError
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, AuthorizationCodeResponseUrl errorResponse) Handles an error to the authorization, such as when an end user denies authorization.