public class YoutubeOAuth2ServiceProvider extends AbstractOAuth2UserEmailProvider
CODE_URL_PARAMETER, ERROR_URL_PARAMETER, HTTP_TRANSPORT, id, JSON_FACTORY, SCHEMA, serviceName, serviceUserStore, tokenStore
Constructor and Description |
---|
YoutubeOAuth2ServiceProvider() |
Modifier and Type | Method and Description |
---|---|
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
public YoutubeOAuth2ServiceProvider()
protected String getUserEmail(String accessToken) throws IOException
getUserEmail
in class AbstractOAuth2UserEmailProvider
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.