org.jboss.seam.social.oauth
Interface OAuthSession

All Superinterfaces:
Serializable

public interface OAuthSession
extends Serializable

Instances of this interface contains data for a session connection to a given service.

Author:
Antoine Sabot-Durand
See Also:
OAuthService

Method Summary
 OAuthToken getAccessToken()
           
 String getName()
           
 OAuthToken getRequestToken()
           
 Annotation getServiceQualifier()
           
 UserProfile getUserProfile()
           
 String getVerifier()
           
 boolean isConnected()
           
 void setAccessToken(OAuthToken accessToken)
           
 void setRequestToken(OAuthToken requestToken)
           
 void setUserProfile(UserProfile userProfile)
           
 void setVerifier(String verifier)
           
 

Method Detail

getRequestToken

OAuthToken getRequestToken()
Returns:
the requestToken

setRequestToken

void setRequestToken(OAuthToken requestToken)
Parameters:
requestToken - the requestToken to set

getAccessToken

OAuthToken getAccessToken()
Returns:
the accessToken

setAccessToken

void setAccessToken(OAuthToken accessToken)
Parameters:
accessToken - the accessToken to set

getVerifier

String getVerifier()
Returns:
the verifier

setVerifier

void setVerifier(String verifier)
Parameters:
verifier - the verifier to set

setUserProfile

void setUserProfile(UserProfile userProfile)

getUserProfile

UserProfile getUserProfile()

getServiceQualifier

Annotation getServiceQualifier()

isConnected

boolean isConnected()
Returns:

getName

String getName()


Copyright © 2011-2012 Seam Framework. All Rights Reserved.