|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TokenRequest | |
|---|---|
| com.google.api.client.auth.oauth2 | OAuth 2.0 authorization as specified in the OAuth 2.0 Protocol. |
| com.google.api.client.auth.openidconnect | OpenID Connect. |
| Uses of TokenRequest in com.google.api.client.auth.oauth2 |
|---|
| Subclasses of TokenRequest in com.google.api.client.auth.oauth2 | |
|---|---|
class |
AuthorizationCodeTokenRequest
OAuth 2.0 request for an access token using an authorization code as specified in Access Token Request. |
class |
RefreshTokenRequest
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 TokenRequest | |
|---|---|
TokenRequest |
TokenRequest.setClientAuthentication(HttpExecuteInterceptor clientAuthentication)
Sets the client authentication or null for none. |
TokenRequest |
TokenRequest.setGrantType(String grantType)
Sets the grant type ( "authorization_code", "password",
"client_credentials", "refresh_token" or absolute URI of the extension grant
type). |
TokenRequest |
TokenRequest.setRequestInitializer(HttpRequestInitializer requestInitializer)
Sets the HTTP request initializer or null for none. |
TokenRequest |
TokenRequest.setScopes(Iterable<String> scopes)
Sets the list of scopes (as specified in Access Token Scope) or null for none. |
TokenRequest |
TokenRequest.setScopes(String... scopes)
Sets the list of scopes (as specified in Access Token Scope) or null for none. |
TokenRequest |
TokenRequest.setTokenServerUrl(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 TokenRequest | |
|---|---|
static IdTokenResponse |
IdTokenResponse.execute(TokenRequest tokenRequest)
Executes the given ID token request, and returns the parsed ID token response. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||