Uses of Class
com.google.api.client.auth.oauth2.TokenRequest
Packages that use TokenRequest
-
Uses of TokenRequest in com.google.api.client.auth.oauth2
Subclasses of TokenRequest in com.google.api.client.auth.oauth2Modifier and TypeClassDescriptionclass
OAuth 2.0 request for an access token using an authorization code as specified in Access Token Request.class
OAuth 2.0 request for an access token using only its client credentials as specified in Client Credentials Grant.class
OAuth 2.0 request for an access token using the user's username and password as specified in Resource Owner Password Credentials Grant.class
OAuth 2.0 request to refresh an access token using a refresh token as specified in Refreshing an Access Token.Methods in com.google.api.client.auth.oauth2 that return TokenRequestModifier and TypeMethodDescriptionTokenRequest.setClientAuthentication
(com.google.api.client.http.HttpExecuteInterceptor clientAuthentication) Sets the client authentication ornull
for none.TokenRequest.setGrantType
(String grantType) Sets the grant type ("authorization_code"
,"password"
,"client_credentials"
,"refresh_token"
or absolute URI of the extension grant type).TokenRequest.setRequestInitializer
(com.google.api.client.http.HttpRequestInitializer requestInitializer) Sets the HTTP request initializer ornull
for none.TokenRequest.setScopes
(Collection<String> scopes) Sets the list of scopes (as specified in Access Token Scope) ornull
for none.TokenRequest.setTokenServerUrl
(com.google.api.client.http.GenericUrl tokenServerUrl) Sets the token server URL. -
Uses of TokenRequest in com.google.api.client.auth.openidconnect
Methods in com.google.api.client.auth.openidconnect with parameters of type TokenRequestModifier and TypeMethodDescriptionstatic IdTokenResponse
IdTokenResponse.execute
(TokenRequest tokenRequest) Executes the given ID token request, and returns the parsed ID token response.