public class OneDriveAuthorizationCodeFlow extends com.google.api.client.auth.oauth2.AuthorizationCodeFlow
AuthorizationCodeFlow as OneDrive for Business needs the resource parameter for
 token and refresh token requests. Furthermore their response don't follow OAuth standard for expires_in field. See
 https://github.com/google/google-oauth-java-client/issues/62| Modifier and Type | Class and Description | 
|---|---|
static class  | 
OneDriveAuthorizationCodeFlow.Builder  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
OneDriveAuthorizationCodeFlow(OneDriveAuthorizationCodeFlow.Builder builder)  | 
| Modifier and Type | Method and Description | 
|---|---|
com.google.api.client.auth.oauth2.Credential | 
loadCredential(String userId)  | 
com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest | 
newTokenRequest(String authorizationCode)  | 
createAndStoreCredential, getAuthorizationServerEncodedUrl, getClientAuthentication, getClientId, getClock, getCredentialDataStore, getCredentialStore, getJsonFactory, getMethod, getRefreshListeners, getRequestInitializer, getScopes, getScopesAsString, getTokenServerEncodedUrl, getTransport, newAuthorizationUrlprotected OneDriveAuthorizationCodeFlow(OneDriveAuthorizationCodeFlow.Builder builder)
public com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest newTokenRequest(String authorizationCode)
newTokenRequest in class com.google.api.client.auth.oauth2.AuthorizationCodeFlowpublic com.google.api.client.auth.oauth2.Credential loadCredential(String userId) throws IOException
loadCredential in class com.google.api.client.auth.oauth2.AuthorizationCodeFlowIOExceptionCopyright © 2019 Nuxeo. All rights reserved.