Class OAuth2ServiceProviderDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.platform.oauth2.providers.OAuth2ServiceProviderDescriptor
-
public class OAuth2ServiceProviderDescriptor extends Object
- Since:
- 7.3
-
-
Field Summary
Fields 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 Summary
Constructors Constructor Description OAuth2ServiceProviderDescriptor()
-
Method Summary
All 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_KEY
public static final String DEFAULT_ACCESS_TOKEN_KEY
- See Also:
- Constant Field Values
-
DEFAULT_PROVIDER_CLASS
public static final Class<? extends OAuth2ServiceProvider> DEFAULT_PROVIDER_CLASS
-
enabled
protected boolean enabled
-
tokenServerURL
protected String tokenServerURL
-
authorizationServerURL
protected String authorizationServerURL
-
userInfoURL
protected String userInfoURL
-
accessTokenKey
protected String accessTokenKey
-
clientSecret
protected String clientSecret
-
description
protected String description
-
providerClass
protected Class<? extends OAuth2ServiceProvider> providerClass
-
-
Constructor Detail
-
OAuth2ServiceProviderDescriptor
public OAuth2ServiceProviderDescriptor()
-
-
Method Detail
-
getTokenServerURL
public String getTokenServerURL()
-
getAuthorizationServerURL
public String getAuthorizationServerURL()
-
getClientId
public String getClientId()
-
getClientSecret
public String getClientSecret()
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getDescription
public String getDescription()
-
getProviderClass
public Class<? extends OAuth2ServiceProvider> getProviderClass()
-
-