Class LogoutAction
-
- All Implemented Interfaces:
Component,LogEnabled,Serviceable,Action
public class LogoutAction extends AbstractLoggedAction
Returns the list of feeds for a user
-
-
Field Summary
Fields Modifier and Type Field Description protected AuthenticationTokenManager_authenticationTokenManagerAuthentication Token Managerprotected static String_NOTIF_TOKENParameter containing the client versionprotected UserPreferencesHelper_userPreferencesHelperUser Preferences Helper-
Fields inherited from class org.ametys.plugins.mobileapp.action.AbstractLoggedAction
_currentUserProvider
-
Fields inherited from class org.ametys.plugins.mobileapp.action.AbstractPostAction
_jsonUtils
-
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
-
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
-
Constructor Summary
Constructors Constructor Description LogoutAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>doLoggedInAction(Request request, Map<String,Object> jsonParams)Execute the action that requires to be logged invoidservice(ServiceManager smanager)-
Methods inherited from class org.ametys.plugins.mobileapp.action.AbstractLoggedAction
doAction
-
Methods inherited from class org.ametys.plugins.mobileapp.action.AbstractPostAction
act, getParameter, getParameters
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_NOTIF_TOKEN
protected static final String _NOTIF_TOKEN
Parameter containing the client version- See Also:
- Constant Field Values
-
_userPreferencesHelper
protected UserPreferencesHelper _userPreferencesHelper
User Preferences Helper
-
_authenticationTokenManager
protected AuthenticationTokenManager _authenticationTokenManager
Authentication Token Manager
-
-
Constructor Detail
-
LogoutAction
public LogoutAction()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classAbstractLoggedAction- Throws:
ServiceException
-
doLoggedInAction
protected Map<String,Object> doLoggedInAction(Request request, Map<String,Object> jsonParams)
Description copied from class:AbstractLoggedActionExecute the action that requires to be logged in- Specified by:
doLoggedInActionin classAbstractLoggedAction- Parameters:
request- the requestjsonParams- map of parameters passed in the post body as json- Returns:
- the json map to return
-
-