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 String
accessTokenKey
protected String
authorizationServerURL
protected String
clientId
protected String
clientSecret
static String
DEFAULT_ACCESS_TOKEN_KEY
static Class<? extends OAuth2ServiceProvider>
DEFAULT_PROVIDER_CLASS
protected String
description
protected boolean
enabled
protected String
icon
protected String
label
protected String
name
protected Class<? extends OAuth2ServiceProvider>
providerClass
protected String[]
scopes
protected String
tokenServerURL
protected String
userInfoURL
-
Constructor Summary
Constructors Constructor Description OAuth2ServiceProviderDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthorizationServerURL()
String
getClientId()
String
getClientSecret()
String
getDescription()
String
getIcon()
String
getLabel()
String
getName()
Class<? extends OAuth2ServiceProvider>
getProviderClass()
String[]
getScopes()
String
getTokenServerURL()
boolean
isEnabled()
void
setEnabled(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()
-
-