Uses of Class
com.google.api.client.auth.oauth2.AuthorizationRequestUrl
-
Packages that use AuthorizationRequestUrl Package Description com.google.api.client.auth.oauth2 Implementation of the OAuth 2.0 Authorization Framework. -
-
Uses of AuthorizationRequestUrl in com.google.api.client.auth.oauth2
Subclasses of AuthorizationRequestUrl in com.google.api.client.auth.oauth2 Modifier and Type Class Description class
AuthorizationCodeRequestUrl
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
BrowserClientRequestUrl
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 AuthorizationRequestUrl Modifier and Type Method Description AuthorizationRequestUrl
AuthorizationRequestUrl. clone()
AuthorizationRequestUrl
AuthorizationRequestUrl. set(java.lang.String fieldName, java.lang.Object value)
AuthorizationRequestUrl
AuthorizationRequestUrl. setClientId(java.lang.String clientId)
Sets the client identifier.AuthorizationRequestUrl
AuthorizationRequestUrl. setRedirectUri(java.lang.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
AuthorizationRequestUrl. setResponseTypes(java.util.Collection<java.lang.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
AuthorizationRequestUrl. setScopes(java.util.Collection<java.lang.String> scopes)
Sets the list of scopes (as specified in Access Token Scope) ornull
for none.AuthorizationRequestUrl
AuthorizationRequestUrl. setState(java.lang.String state)
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.
-