Class LogoutByHandleActionHandler

  • All Implemented Interfaces:
    ActionHandler

    public class LogoutByHandleActionHandler
    extends Object
    implements ActionHandler
    Handler for "logoutByHandle" action.
    • Constructor Detail

      • LogoutByHandleActionHandler

        public LogoutByHandleActionHandler()
    • Method Detail

      • handle

        public org.forgerock.util.promise.Promise<org.forgerock.json.resource.ActionResponse,​org.forgerock.json.resource.ResourceException> handle​(String tokenId,
                                                                                                                                                         org.forgerock.services.context.Context context,
                                                                                                                                                         org.forgerock.json.resource.ActionRequest request)
        Destroys the sessions using the provided session handles.
        Specified by:
        handle in interface ActionHandler
        Parameters:
        tokenId - Not used by this implementation.
        context - The CREST context.
        request - The current ActionRequest.
        Returns:
        The response that details which sessions were successfully destroyed.