Uses of Class
com.google.api.client.auth.oauth2.AuthorizationRequestUrl
Packages that use AuthorizationRequestUrl
-
Uses of AuthorizationRequestUrl in com.google.api.client.auth.oauth2
Subclasses of AuthorizationRequestUrl in com.google.api.client.auth.oauth2Modifier and TypeClassDescriptionclass
OAuth 2.0 URL builder for an authorization web page to allow the end user to authorize the application to access their protected resources and that returns an authorization code, as specified in Authorization Code Grant.class
OAuth 2.0 URL builder for an authorization web page to allow the end user to authorize the application to access their protected resources and that returns the access token to a browser client using a scripting language such as JavaScript, as specified in Implicit Grant.Methods in com.google.api.client.auth.oauth2 that return AuthorizationRequestUrlModifier and TypeMethodDescriptionAuthorizationRequestUrl.clone()
AuthorizationRequestUrl.setClientId
(String clientId) Sets the client identifier.AuthorizationRequestUrl.setRedirectUri
(String redirectUri) Sets the URI that the authorization server directs the resource owner's user-agent back to the client after a successful authorization grant (as specified in Redirection Endpoint) ornull
for none.AuthorizationRequestUrl.setResponseTypes
(Collection<String> responseTypes) Sets the response type, which must be"code"
for requesting an authorization code,"token"
for requesting an access token (implicit grant), or a list of registered extension values to join with a space.AuthorizationRequestUrl.setScopes
(Collection<String> scopes) Sets the list of scopes (as specified in Access Token Scope) ornull
for none.Sets the state (an opaque value used by the client to maintain state between the request and callback, as mentioned in Registration Requirements) ornull
for none.