public class DropboxOAuth2ServiceProvider extends AbstractOAuth2UserEmailProvider
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
CODE_URL_PARAMETER, ERROR_URL_PARAMETER, HTTP_TRANSPORT, id, JSON_FACTORY, SCHEMA, serviceName, serviceUserStore, tokenStore
Constructor and Description |
---|
DropboxOAuth2ServiceProvider() |
Modifier and Type | Method and Description |
---|---|
protected com.google.api.client.http.HttpRequestFactory |
getRequestFactory() |
String |
getServiceUser(String username) |
protected String |
getUserEmail(String accessToken) |
getOrCreateServiceUser, getServiceUserId
getAuthorizationCode, getAuthorizationCodeFlow, getAuthorizationServerURL, getAuthorizationUrl, getCallbackUrl, getClientId, getClientSecret, getCredentialDataStore, getError, getId, getScopes, getServiceName, getServiceUserStore, getTokenServerURL, handleAuthorizationCallback, isEnabled, isProviderAvailable, loadCredential, setAuthorizationServerURL, setClientId, setClientSecret, setEnabled, setId, setScopes, setServiceName, setTokenServerURL
protected static final org.apache.commons.logging.Log log
public DropboxOAuth2ServiceProvider()
protected String getUserEmail(String accessToken) throws IOException
getUserEmail
in class AbstractOAuth2UserEmailProvider
IOException
public String getServiceUser(String username)
protected com.google.api.client.http.HttpRequestFactory getRequestFactory()
Copyright © 2015 Nuxeo SA. All rights reserved.