Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.oauth.providers
Class NuxeoOAuthServiceProvider

java.lang.Object
  extended by net.oauth.OAuthServiceProvider
      extended by org.nuxeo.ecm.platform.oauth.providers.NuxeoOAuthServiceProvider
All Implemented Interfaces:
Serializable

public class NuxeoOAuthServiceProvider
extends net.oauth.OAuthServiceProvider

See Also:
Serialized Form

Field Summary
static String SCHEMA
           
 
Fields inherited from class net.oauth.OAuthServiceProvider
accessTokenURL, requestTokenURL, userAuthorizationURL
 
Constructor Summary
NuxeoOAuthServiceProvider(Long id, String gadgetUrl, String serviceName, String consumerKey, String consumerSecret, String publicKey)
           
NuxeoOAuthServiceProvider(String requestTokenURL, String userAuthorizationURL, String accessTokenURL)
           
 
Method Summary
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()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCHEMA

public static final String SCHEMA
See Also:
Constant Field Values
Constructor Detail

NuxeoOAuthServiceProvider

public NuxeoOAuthServiceProvider(String requestTokenURL,
                                 String userAuthorizationURL,
                                 String accessTokenURL)

NuxeoOAuthServiceProvider

public NuxeoOAuthServiceProvider(Long id,
                                 String gadgetUrl,
                                 String serviceName,
                                 String consumerKey,
                                 String consumerSecret,
                                 String publicKey)
Method Detail

createFromDirectoryEntry

public static NuxeoOAuthServiceProvider createFromDirectoryEntry(DocumentModel entry)
                                                          throws ClientException
Throws:
ClientException

getGadgetUrl

public String getGadgetUrl()

getServiceName

public String getServiceName()

getKeyType

public String getKeyType()

getConsumerKey

public String getConsumerKey()

getConsumerSecret

public String getConsumerSecret()

getPublicKey

public String getPublicKey()

getId

public Long getId()

getRequestTokenUR

public String getRequestTokenUR()

getUserAuthorizationURL

public String getUserAuthorizationURL()

getAccessTokenURL

public String getAccessTokenURL()

getDescription

public String getDescription()

isReadOnly

public boolean isReadOnly()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.