Class NuxeoOAuthConsumer
java.lang.Object
net.oauth.OAuthConsumer
org.nuxeo.ecm.platform.oauth.consumers.NuxeoOAuthConsumer
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OAuthServerKeyManagerImpl.InternalNuxeoOAuthConsumer
public class NuxeoOAuthConsumer
extends net.oauth.OAuthConsumer
Represents a application that uses OAuth to consume a Web Service from Nuxeo. This class holds informations such and
keys and name for a consumer application. The simple mapping to DocumentModel is also provided to make storage in SQL
Directory easier.
- Author:
- tiry
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
protected boolean
protected String
protected String
protected boolean
protected String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class net.oauth.OAuthConsumer
ACCEPT_ENCODING, ACCESSOR_SECRET, callbackURL, consumerKey, consumerSecret, serviceProvider
-
Constructor Summary
ConstructorDescriptionNuxeoOAuthConsumer
(String callbackURL, String consumerKey, String consumerSecret, net.oauth.OAuthServiceProvider serviceProvider) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
protected DocumentModel
asDocumentModel
(DocumentModel entry) static NuxeoOAuthConsumer
createFromDirectoryEntry
(DocumentModel entry, String keyType) Methods inherited from class net.oauth.OAuthConsumer
getProperty, setProperty
-
Field Details
-
ALLOW_SIGNEDFETCH
- See Also:
-
SIGNEDFETCH_NONE
- See Also:
-
SIGNEDFETCH_OPENSOCIAL_VIEWER
- See Also:
-
SIGNEDFETCH_OPENSOCIAL_OWNER
- See Also:
-
SIGNEDFETCH_DEDICATED_USER
- See Also:
-
SCHEMA
- See Also:
-
publicKey
-
description
-
signedFetchSupport
-
dedicatedLogin
-
enabled
protected boolean enabled -
allowBypassVerifier
protected boolean allowBypassVerifier
-
-
Constructor Details
-
NuxeoOAuthConsumer
-
-
Method Details
-
createFromDirectoryEntry
-
asDocumentModel
-
getCallbackURL
-
getConsumerKey
-
getConsumerSecret
-
getPublicKey
-
allowSignedFetch
public boolean allowSignedFetch() -
getSignedFetchUser
-
getDescription
-
getSecret
-
allowBypassVerifier
public boolean allowBypassVerifier()
-