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
-
name
protected String name
-
tokenServerURL
protected String tokenServerURL
-
authorizationServerURL
protected String authorizationServerURL
-
userInfoURL
protected String userInfoURL
-
accessTokenKey
protected String accessTokenKey
-
clientId
protected String clientId
-
clientSecret
protected String clientSecret
-
scopes
protected String[] scopes
-
icon
protected String icon
-
label
protected String label
-
description
protected String description
-
providerClass
protected Class<? extends OAuth2ServiceProvider> providerClass
-
-
Method Detail
-
getName
public String getName()
-
getTokenServerURL
public String getTokenServerURL()
-
getAuthorizationServerURL
public String getAuthorizationServerURL()
-
getClientId
public String getClientId()
-
getClientSecret
public String getClientSecret()
-
getScopes
public String[] getScopes()
-
getIcon
public String getIcon()
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getLabel
public String getLabel()
-
getDescription
public String getDescription()
-
getProviderClass
public Class<? extends OAuth2ServiceProvider> getProviderClass()
-
-