org.exoplatform.ws.security.oauth.impl
Class OAuthClientHttpImpl

java.lang.Object
  extended by org.exoplatform.ws.security.oauth.impl.OAuthClientHttpImpl
All Implemented Interfaces:
ExoOAuthClient

public class OAuthClientHttpImpl
extends java.lang.Object
implements ExoOAuthClient

Version:
$Id: $
Author:
Andrey Parfonov

Constructor Summary
OAuthClientHttpImpl()
           
 
Method Summary
 void getAccessToken(net.oauth.OAuthAccessor accessor)
          Get access token from Provider.
 void getRequestToken(net.oauth.OAuthAccessor accessor)
          Get request token from Provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuthClientHttpImpl

public OAuthClientHttpImpl()
Method Detail

getAccessToken

public void getAccessToken(net.oauth.OAuthAccessor accessor)
                    throws java.lang.Exception
Get access token from Provider.

Specified by:
getAccessToken in interface ExoOAuthClient
Parameters:
accessor - the accessor.
Throws:
java.lang.Exception - if request token not valid.

getRequestToken

public void getRequestToken(net.oauth.OAuthAccessor accessor)
                     throws java.lang.Exception
Get request token from Provider.

Specified by:
getRequestToken in interface ExoOAuthClient
Parameters:
accessor - the accessor.
Throws:
java.lang.Exception - if request token not valid.


Copyright © 2011 eXo Platform SAS. All Rights Reserved.