Class OAuth2ServiceProviderDescriptor
- java.lang.Object
- 
- org.nuxeo.ecm.platform.oauth2.providers.OAuth2ServiceProviderDescriptor
 
- 
 public class OAuth2ServiceProviderDescriptor extends Object - Since:
- 7.3
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected StringaccessTokenKeyprotected StringauthorizationServerURLprotected StringclientIdprotected StringclientSecretstatic StringDEFAULT_ACCESS_TOKEN_KEYstatic Class<? extends OAuth2ServiceProvider>DEFAULT_PROVIDER_CLASSprotected Stringdescriptionprotected booleanenabledprotected Stringiconprotected Stringlabelprotected Stringnameprotected Class<? extends OAuth2ServiceProvider>providerClassprotected String[]scopesprotected StringtokenServerURLprotected StringuserInfoURL
 - 
Constructor SummaryConstructors Constructor Description OAuth2ServiceProviderDescriptor()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthorizationServerURL()StringgetClientId()StringgetClientSecret()StringgetDescription()StringgetIcon()StringgetLabel()StringgetName()Class<? extends OAuth2ServiceProvider>getProviderClass()String[]getScopes()StringgetTokenServerURL()booleanisEnabled()voidsetEnabled(boolean enabled)
 
- 
- 
- 
Field Detail- 
DEFAULT_ACCESS_TOKEN_KEYpublic static final String DEFAULT_ACCESS_TOKEN_KEY - See Also:
- Constant Field Values
 
 - 
DEFAULT_PROVIDER_CLASSpublic static final Class<? extends OAuth2ServiceProvider> DEFAULT_PROVIDER_CLASS 
 - 
enabledprotected boolean enabled 
 - 
nameprotected String name 
 - 
tokenServerURLprotected String tokenServerURL 
 - 
authorizationServerURLprotected String authorizationServerURL 
 - 
userInfoURLprotected String userInfoURL 
 - 
accessTokenKeyprotected String accessTokenKey 
 - 
clientIdprotected String clientId 
 - 
clientSecretprotected String clientSecret 
 - 
scopesprotected String[] scopes 
 - 
iconprotected String icon 
 - 
labelprotected String label 
 - 
descriptionprotected String description 
 - 
providerClassprotected Class<? extends OAuth2ServiceProvider> providerClass 
 
- 
 - 
Method Detail- 
getNamepublic String getName() 
 - 
getTokenServerURLpublic String getTokenServerURL() 
 - 
getAuthorizationServerURLpublic String getAuthorizationServerURL() 
 - 
getClientIdpublic String getClientId() 
 - 
getClientSecretpublic String getClientSecret() 
 - 
getScopespublic String[] getScopes() 
 - 
getIconpublic String getIcon() 
 - 
isEnabledpublic boolean isEnabled() 
 - 
setEnabledpublic void setEnabled(boolean enabled) 
 - 
getLabelpublic String getLabel() 
 - 
getDescriptionpublic String getDescription() 
 - 
getProviderClasspublic Class<? extends OAuth2ServiceProvider> getProviderClass() 
 
- 
 
-