public class NuxeoOAuthServiceProvider extends net.oauth.OAuthServiceProvider
Modifier and Type | Field and Description |
---|---|
protected String |
consumerKey |
protected String |
consumerSecret |
protected String |
description |
protected boolean |
enabled |
protected String |
gadgetUrl |
protected Long |
id |
protected String |
keyType |
protected String |
publicKey |
protected boolean |
readOnly |
static String |
SCHEMA |
protected String |
serviceName |
Constructor and Description |
---|
NuxeoOAuthServiceProvider(Long id,
String gadgetUrl,
String serviceName,
String consumerKey,
String consumerSecret,
String publicKey) |
NuxeoOAuthServiceProvider(String requestTokenURL,
String userAuthorizationURL,
String accessTokenURL) |
Modifier and Type | Method and Description |
---|---|
protected DocumentModel |
asDocumentModel(DocumentModel entry) |
static NuxeoOAuthServiceProvider |
createFromDirectoryEntry(DocumentModel entry) |
String |
getAccessTokenURL() |
String |
getConsumerKey() |
String |
getConsumerSecret() |
String |
getDescription() |
String |
getGadgetUrl() |
Long |
getId() |
String |
getKeyType() |
String |
getPublicKey() |
String |
getRequestTokenUR() |
String |
getServiceName() |
String |
getUserAuthorizationURL() |
boolean |
isReadOnly() |
public static final String SCHEMA
protected String serviceName
protected String consumerKey
protected String consumerSecret
protected String description
protected boolean enabled
protected boolean readOnly
public NuxeoOAuthServiceProvider(String requestTokenURL, String userAuthorizationURL, String accessTokenURL)
public static NuxeoOAuthServiceProvider createFromDirectoryEntry(DocumentModel entry)
protected DocumentModel asDocumentModel(DocumentModel entry)
public String getGadgetUrl()
public String getServiceName()
public String getKeyType()
public String getConsumerKey()
public String getConsumerSecret()
public String getPublicKey()
public String getRequestTokenUR()
public String getUserAuthorizationURL()
public String getAccessTokenURL()
public String getDescription()
public boolean isReadOnly()
Copyright © 2018 Nuxeo. All rights reserved.