return startDanceFor(providerName, null);
}
@Override
public synchronized void endDance() {
OAuthSession currentSession = getCurrentSession();
if (currentSession.getAccessToken() == null) {
currentSession.setAccessToken(getCurrentService().getAccessToken(currentSession.getRequestToken(),
currentSession.getVerifier()));
}
if (currentSession.getAccessToken() != null) {
currentSession.setRequestToken(null);
currentSession.setUserProfile(getCurrentUserProfileService().getUserProfile());
currentSession.getRepo().add(currentSession);
completeEvt.select(currentSession.getServiceQualifier()).fire(new OAuthComplete(SocialEvent.Status.SUCCESS, "",
currentSession));
//TODO: reactivate logger
} else {
// FIXME Launch an exception !!