public class NuxeoOAuthConsumer extends net.oauth.OAuthConsumer
Modifier and Type | Field and Description |
---|---|
static String |
ALLOW_SIGNEDFETCH |
protected boolean |
allowBypassVerifier |
protected String |
dedicatedLogin |
protected String |
description |
protected boolean |
enabled |
protected static org.apache.commons.logging.Log |
log |
protected String |
publicKey |
static String |
SCHEMA |
static String |
SIGNEDFETCH_DEDICATED_USER |
static String |
SIGNEDFETCH_NONE |
static String |
SIGNEDFETCH_OPENSOCIAL_OWNER |
static String |
SIGNEDFETCH_OPENSOCIAL_VIEWER |
protected String |
signedFetchSupport |
Constructor and Description |
---|
NuxeoOAuthConsumer(String callbackURL,
String consumerKey,
String consumerSecret,
net.oauth.OAuthServiceProvider serviceProvider) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowBypassVerifier() |
boolean |
allowSignedFetch() |
protected DocumentModel |
asDocumentModel(DocumentModel entry) |
static NuxeoOAuthConsumer |
createFromDirectoryEntry(DocumentModel entry,
String keyType) |
String |
getCallbackURL() |
String |
getConsumerKey() |
String |
getConsumerSecret() |
String |
getDescription() |
String |
getPublicKey() |
String |
getSecret(String type) |
String |
getSignedFetchUser() |
public static final String ALLOW_SIGNEDFETCH
public static final String SIGNEDFETCH_NONE
public static final String SIGNEDFETCH_OPENSOCIAL_VIEWER
public static final String SIGNEDFETCH_OPENSOCIAL_OWNER
public static final String SIGNEDFETCH_DEDICATED_USER
public static final String SCHEMA
protected static final org.apache.commons.logging.Log log
protected String description
protected String signedFetchSupport
protected String dedicatedLogin
protected boolean enabled
protected boolean allowBypassVerifier
public NuxeoOAuthConsumer(String callbackURL, String consumerKey, String consumerSecret, net.oauth.OAuthServiceProvider serviceProvider)
public static NuxeoOAuthConsumer createFromDirectoryEntry(DocumentModel entry, String keyType)
protected DocumentModel asDocumentModel(DocumentModel entry)
public String getCallbackURL()
public String getConsumerKey()
public String getConsumerSecret()
public String getPublicKey()
public boolean allowSignedFetch()
public String getSignedFetchUser()
public String getDescription()
public boolean allowBypassVerifier()
Copyright © 2015 Nuxeo SA. All rights reserved.