org.springframework.social.alfresco.connect
Class AlfrescoServiceProvider

java.lang.Object
  extended by org.springframework.social.oauth2.AbstractOAuth2ServiceProvider<Alfresco>
      extended by org.springframework.social.alfresco.connect.AlfrescoServiceProvider
All Implemented Interfaces:
org.springframework.social.oauth2.OAuth2ServiceProvider<Alfresco>, org.springframework.social.ServiceProvider<Alfresco>

public class AlfrescoServiceProvider
extends org.springframework.social.oauth2.AbstractOAuth2ServiceProvider<Alfresco>

Author:
jottley

Constructor Summary
AlfrescoServiceProvider(String consumerKey, String consumerSecret)
          Create new Alfresco OAuth2ServiceProvider
 
Method Summary
 Alfresco getApi(String accessToken)
          Returns the Alfresco Api client interface to access protected resources on behalf of a user
 
Methods inherited from class org.springframework.social.oauth2.AbstractOAuth2ServiceProvider
getOAuthOperations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlfrescoServiceProvider

public AlfrescoServiceProvider(String consumerKey,
                               String consumerSecret)
Create new Alfresco OAuth2ServiceProvider

Parameters:
consumerKey - - Alfresco Api Key
consumerSecret - - Alfresco Key Secret
Method Detail

getApi

public Alfresco getApi(String accessToken)
Returns the Alfresco Api client interface to access protected resources on behalf of a user

Specified by:
getApi in interface org.springframework.social.oauth2.OAuth2ServiceProvider<Alfresco>
Specified by:
getApi in class org.springframework.social.oauth2.AbstractOAuth2ServiceProvider<Alfresco>
Parameters:
accessToken - - the Api access Token


Copyright © 2012 Alfresco Software Inc.. All Rights Reserved.