Package | Description |
---|---|
com.google.api.client.auth.oauth2 |
Implementation of the OAuth 2.0 Authorization
Framework.
|
com.google.api.client.extensions.java6.auth.oauth2 |
OAuth 2.0 utilities that help simplify the authorization flow on Java 6.
|
com.google.api.client.extensions.servlet.auth.oauth2 |
OAuth 2.0 utilities that help simplify the authorization flow in HTTP servlets.
|
Modifier and Type | Method and Description |
---|---|
AuthorizationCodeRequestUrl |
AuthorizationCodeRequestUrl.clone() |
AuthorizationCodeRequestUrl |
AuthorizationCodeFlow.newAuthorizationUrl()
Returns a new instance of an authorization code request URL.
|
AuthorizationCodeRequestUrl |
AuthorizationCodeRequestUrl.set(String fieldName,
Object value) |
AuthorizationCodeRequestUrl |
AuthorizationCodeRequestUrl.setClientId(String clientId) |
AuthorizationCodeRequestUrl |
AuthorizationCodeRequestUrl.setRedirectUri(String redirectUri) |
AuthorizationCodeRequestUrl |
AuthorizationCodeRequestUrl.setResponseTypes(Collection<String> responseTypes) |
AuthorizationCodeRequestUrl |
AuthorizationCodeRequestUrl.setScopes(Collection<String> scopes) |
AuthorizationCodeRequestUrl |
AuthorizationCodeRequestUrl.setState(String state) |
Modifier and Type | Method and Description |
---|---|
protected void |
AuthorizationCodeInstalledApp.onAuthorization(AuthorizationCodeRequestUrl authorizationUrl)
Handles user authorization by redirecting to the OAuth 2.0 authorization server.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractAuthorizationCodeServlet.onAuthorization(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
AuthorizationCodeRequestUrl authorizationUrl)
Handles user authorization by redirecting to the OAuth 2.0 authorization server.
|
Copyright © 2011–2020 Google. All rights reserved.