org.jboss.seam.social.scribe
Class OAuthProviderScribe
java.lang.Object
org.jboss.seam.social.scribe.OAuthProviderScribe
- All Implemented Interfaces:
- org.jboss.seam.social.oauth.OAuthProvider
public class OAuthProviderScribe
- extends Object
- implements org.jboss.seam.social.oauth.OAuthProvider
- Author:
- Antoine Sabot-Durand
|
Constructor Summary |
OAuthProviderScribe(org.jboss.seam.social.oauth.OAuthServiceSettings settings)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAuthProviderScribe
public OAuthProviderScribe(org.jboss.seam.social.oauth.OAuthServiceSettings settings)
getRequestToken
public org.jboss.seam.social.oauth.OAuthToken getRequestToken()
- Specified by:
getRequestToken in interface org.jboss.seam.social.oauth.OAuthProvider
getAccessToken
public org.jboss.seam.social.oauth.OAuthToken getAccessToken(org.jboss.seam.social.oauth.OAuthToken requestToken,
String verifier)
- Specified by:
getAccessToken in interface org.jboss.seam.social.oauth.OAuthProvider
signRequest
public void signRequest(org.jboss.seam.social.oauth.OAuthToken accessToken,
org.jboss.seam.social.oauth.OAuthRequest request)
- Specified by:
signRequest in interface org.jboss.seam.social.oauth.OAuthProvider
getVersion
public String getVersion()
- Specified by:
getVersion in interface org.jboss.seam.social.oauth.OAuthProvider
getAuthorizationUrl
public String getAuthorizationUrl(org.jboss.seam.social.oauth.OAuthToken tok)
- Specified by:
getAuthorizationUrl in interface org.jboss.seam.social.oauth.OAuthProvider
extractToken
protected org.scribe.model.Token extractToken(org.jboss.seam.social.oauth.OAuthToken tok)
requestFactory
public org.jboss.seam.social.oauth.OAuthRequest requestFactory(org.jboss.seam.social.rest.RestVerb verb,
String uri)
- Specified by:
requestFactory in interface org.jboss.seam.social.oauth.OAuthProvider
tokenFactory
public org.jboss.seam.social.oauth.OAuthToken tokenFactory(String token,
String secret)
- Specified by:
tokenFactory in interface org.jboss.seam.social.oauth.OAuthProvider
Copyright © 2011 Seam Framework. All Rights Reserved.