|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MultiServicesManager
Implementation of this interface allow to manage multiple OAuth connection. The connection to service are backed by a Set to avoid null or duplicate connection. Uniqueness of a connection is based on service type and User name on the service
| Method Summary | |
|---|---|
void |
connectCurrentService()
Connect the current service at the end of the OAuth process |
void |
destroyCurrentSession()
Disconnect the current service and remove it from Set of managed service. |
Set<OAuthSession> |
getActiveSessions()
|
OAuthService |
getCurrentService()
|
OAuthSession |
getCurrentSession()
|
List<String> |
getListOfServices()
|
String |
initNewSession(String type)
Instantiate a new Service which become the new current service |
boolean |
isCurrentServiceConnected()
|
void |
setCurrentSession(OAuthSession currentSession)
|
| Method Detail |
|---|
List<String> getListOfServices()
OAuthService getCurrentService()
boolean isCurrentServiceConnected()
void connectCurrentService()
String initNewSession(String type)
servType - the type of the service to Instantiate
void destroyCurrentSession()
OAuthSession getCurrentSession()
void setCurrentSession(OAuthSession currentSession)
currentSession - Set<OAuthSession> getActiveSessions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||