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:
- Implementation Note:
- Copied from net.oauth.core:oauth-provider to make it Jakarta compatible
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected booleanprotected Stringprotected Stringprotected booleanprotected Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class net.oauth.OAuthConsumer
ACCEPT_ENCODING, ACCESSOR_SECRET, callbackURL, consumerKey, consumerSecret, serviceProvider -
Constructor Summary
ConstructorsConstructorDescriptionNuxeoOAuthConsumer(String callbackURL, String consumerKey, String consumerSecret, net.oauth.OAuthServiceProvider serviceProvider) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanprotected DocumentModelasDocumentModel(DocumentModel entry) static NuxeoOAuthConsumercreateFromDirectoryEntry(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()
-