fr.paris.lutece.plugins.mylutece.modules.oauth.authentication
Class JSONCredentialRetriever

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.oauth.authentication.AbstractOAuthCredentialsRetriever
      extended by fr.paris.lutece.plugins.mylutece.modules.oauth.authentication.JSONCredentialRetriever
All Implemented Interfaces:
IOAuthCredentialsRetriever

public class JSONCredentialRetriever
extends AbstractOAuthCredentialsRetriever

Parses JSON to retrieve credentials.
Uses AbstractOAuthCredentialsRetriever.getTags()

See Also:
AbstractOAuthCredentialsRetriever

Constructor Summary
JSONCredentialRetriever()
           
 
Method Summary
 void doRetrieveUserInfo(org.apache.http.HttpResponse httpResponse, OAuthUser user)
          Fills user info with httpResponse found data.
 
Methods inherited from class fr.paris.lutece.plugins.mylutece.modules.oauth.authentication.AbstractOAuthCredentialsRetriever
getFormat, getTags, setFormat, setTags
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONCredentialRetriever

public JSONCredentialRetriever()
Method Detail

doRetrieveUserInfo

public void doRetrieveUserInfo(org.apache.http.HttpResponse httpResponse,
                               OAuthUser user)
Fills user info with httpResponse found data.

Parameters:
httpResponse - the http response
user - the user to fill


Copyright © 2010 Mairie de Paris. All Rights Reserved.