Uses of Class
com.google.api.client.auth.oauth2.TokenRequest
-
Packages that use TokenRequest Package Description com.google.api.client.auth.oauth2 Implementation of the OAuth 2.0 Authorization Framework.com.google.api.client.auth.openidconnect -
-
Uses of TokenRequest in com.google.api.client.auth.oauth2
Subclasses of TokenRequest in com.google.api.client.auth.oauth2 Modifier and Type Class Description classAuthorizationCodeTokenRequestOAuth 2.0 request for an access token using an authorization code as specified in Access Token Request.classClientCredentialsTokenRequestOAuth 2.0 request for an access token using only its client credentials as specified in Client Credentials Grant.classPasswordTokenRequestOAuth 2.0 request for an access token using the user's username and password as specified in Resource Owner Password Credentials Grant.classRefreshTokenRequestOAuth 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 Modifier and Type Method Description TokenRequestTokenRequest. set(java.lang.String fieldName, java.lang.Object value)TokenRequestTokenRequest. setClientAuthentication(com.google.api.client.http.HttpExecuteInterceptor clientAuthentication)Sets the client authentication ornullfor none.TokenRequestTokenRequest. setGrantType(java.lang.String grantType)Sets the grant type ("authorization_code","password","client_credentials","refresh_token"or absolute URI of the extension grant type).TokenRequestTokenRequest. setRequestInitializer(com.google.api.client.http.HttpRequestInitializer requestInitializer)Sets the HTTP request initializer ornullfor none.TokenRequestTokenRequest. setScopes(java.util.Collection<java.lang.String> scopes)Sets the list of scopes (as specified in Access Token Scope) ornullfor none.TokenRequestTokenRequest. 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 TokenRequest Modifier and Type Method Description static IdTokenResponseIdTokenResponse. execute(TokenRequest tokenRequest)Executes the given ID token request, and returns the parsed ID token response.
-