fr.paris.lutece.plugins.mylutece.modules.oauth.authentication
Class OAuthCredentialsRetrieverUtils
java.lang.Object
fr.paris.lutece.plugins.mylutece.modules.oauth.authentication.OAuthCredentialsRetrieverUtils
public final class OAuthCredentialsRetrieverUtils
- extends Object
This class provides method to try to retrieve user infos.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
doRetrieveUserInfo
public static void doRetrieveUserInfo(org.apache.http.HttpResponse httpResponse,
OAuthUser user,
String strFormat)
- Finds the user info from the response.
Declare your parser in mylutece-oauth_context.xml like this :
<bean id="mylutece-oauth.credRetriever-XML" class="fr.paris.lutece.plugins.mylutece.modules.oauth.authentication.XMLCredentialRetriever">
<property name="format" value="xml" />
</bean>
- Parameters:
httpResponse - http responseuser - the user to fillstrFormat - the format- See Also:
IOAuthCredentialsRetriever
Copyright © 2013 Mairie de Paris. All Rights Reserved.