Class AuthDataClient
- java.lang.Object
-
- fr.paris.lutece.plugins.oauth2.dataclient.AbstractDataClient
-
- fr.paris.lutece.plugins.mylutece.modules.oauth2.authentication.AuthDataClient
-
- All Implemented Interfaces:
fr.paris.lutece.plugins.oauth2.dataclient.DataClient
public class AuthDataClient extends fr.paris.lutece.plugins.oauth2.dataclient.AbstractDataClientUserInfoDataClient
-
-
Field Summary
Fields Modifier and Type Field Description static StringERROR_TYPE_LOGIN_REQUIREDstatic StringPARAM_ERROR_LOGINstatic StringPARAM_NEXT_URLstatic StringREINIT_ERROR_LOGINstatic StringSESSION_ERROR_LOGIN
-
Constructor Summary
Constructors Constructor Description AuthDataClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleError(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String strError)voidhandleToken(fr.paris.lutece.plugins.oauth2.business.Token token, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)-
Methods inherited from class fr.paris.lutece.plugins.oauth2.dataclient.AbstractDataClient
getAcrValues, getAcrValuesSet, getData, getDataServerUri, getName, getRedirectUri, getScope, getScopes, getTokenMethod, isDefault, setAcrValuesSet, setDataServerUri, setDefault, setName, setRedirectUri, setScope, setTokenMethod
-
-
-
-
Field Detail
-
ERROR_TYPE_LOGIN_REQUIRED
public static final String ERROR_TYPE_LOGIN_REQUIRED
- See Also:
- Constant Field Values
-
REINIT_ERROR_LOGIN
public static final String REINIT_ERROR_LOGIN
- See Also:
- Constant Field Values
-
SESSION_ERROR_LOGIN
public static final String SESSION_ERROR_LOGIN
- See Also:
- Constant Field Values
-
PARAM_ERROR_LOGIN
public static final String PARAM_ERROR_LOGIN
- See Also:
- Constant Field Values
-
PARAM_NEXT_URL
public static final String PARAM_NEXT_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
handleToken
public void handleToken(fr.paris.lutece.plugins.oauth2.business.Token token, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
handleError
public void handleError(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String strError)- Specified by:
handleErrorin interfacefr.paris.lutece.plugins.oauth2.dataclient.DataClient- Overrides:
handleErrorin classfr.paris.lutece.plugins.oauth2.dataclient.AbstractDataClient
-
-