Package | Description |
---|---|
com.google.api.client.auth.oauth2 |
Implementation of the OAuth 2.0 Authorization
Framework.
|
Modifier and Type | Method and Description |
---|---|
AuthorizationCodeTokenRequest |
AuthorizationCodeFlow.newTokenRequest(String authorizationCode)
Returns a new instance of an authorization code token request based on the given authorization
code.
|
AuthorizationCodeTokenRequest |
AuthorizationCodeTokenRequest.set(String fieldName,
Object value) |
AuthorizationCodeTokenRequest |
AuthorizationCodeTokenRequest.setClientAuthentication(HttpExecuteInterceptor clientAuthentication) |
AuthorizationCodeTokenRequest |
AuthorizationCodeTokenRequest.setCode(String code)
Sets the authorization code generated by the authorization server.
|
AuthorizationCodeTokenRequest |
AuthorizationCodeTokenRequest.setGrantType(String grantType) |
AuthorizationCodeTokenRequest |
AuthorizationCodeTokenRequest.setRedirectUri(String redirectUri)
Sets the redirect URI parameter matching the redirect URI parameter in the authorization
request or
null for none. |
AuthorizationCodeTokenRequest |
AuthorizationCodeTokenRequest.setRequestInitializer(HttpRequestInitializer requestInitializer) |
AuthorizationCodeTokenRequest |
AuthorizationCodeTokenRequest.setResponseClass(Class<? extends TokenResponse> responseClass) |
AuthorizationCodeTokenRequest |
AuthorizationCodeTokenRequest.setScopes(Collection<String> scopes) |
AuthorizationCodeTokenRequest |
AuthorizationCodeTokenRequest.setTokenServerUrl(GenericUrl tokenServerUrl) |
Copyright © 2011–2021 Google. All rights reserved.