public class OAuth2ServiceProviderDescriptor extends Object implements Serializable
Modifier and Type | Field and 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 static long |
serialVersionUID |
protected String |
tokenServerURL |
protected String |
userInfoURL |
Constructor and Description |
---|
OAuth2ServiceProviderDescriptor() |
Modifier and Type | Method and Description |
---|---|
String |
getAuthorizationServerURL() |
String |
getClientId() |
String |
getClientSecret() |
String |
getDescription() |
String |
getIcon() |
String |
getLabel() |
String |
getName() |
Class<? extends OAuth2ServiceProvider> |
getProviderClass() |
String[] |
getScopes() |
static long |
getSerialversionuid() |
String |
getTokenServerURL() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
protected static final long serialVersionUID
public static final String DEFAULT_ACCESS_TOKEN_KEY
public static final Class<? extends OAuth2ServiceProvider> DEFAULT_PROVIDER_CLASS
protected boolean enabled
protected String tokenServerURL
protected String authorizationServerURL
protected String userInfoURL
protected String accessTokenKey
protected String clientSecret
protected String description
protected Class<? extends OAuth2ServiceProvider> providerClass
public OAuth2ServiceProviderDescriptor()
public static long getSerialversionuid()
public String getTokenServerURL()
public String getAuthorizationServerURL()
public String getClientId()
public String getClientSecret()
public boolean isEnabled()
public void setEnabled(boolean enabled)
public String getDescription()
public Class<? extends OAuth2ServiceProvider> getProviderClass()
Copyright © 2017 Nuxeo. All rights reserved.