Kernel::WebApp::Controller::API::Role::ProvidesSessionFormIDsCache

NAME

Kernel::WebApp::Controller::API::Role::ProvidesSessionFormIDsCache – Role that provides caching of FormIDs during a session by relating them to the session AccessToken.

AddSessionFormID()

Adds the new FormID to the current session. Param FormID carries the UUID that identifies the form.

Uses the AccessToken Param if provided. Otherwise, uses the present session AccessToken.

RemoveSessionFormID()

Removes the given FormID from the current session cache. Param FormID is the UUID that identifies the form.

Uses the AccessToken Param if provided. Otherwise, uses the present session AccessToken.

DeleteSessionFormIDsCache()

Deletes the whole FormIDs cache for the session.

Uses the AccessToken Param if provided. Otherwise, uses the present session AccessToken.

FormIDExistsInSession()

Determines if the given FormIDs is in cache for the session.

Uses the AccessToken Param if provided. Otherwise, uses the present session AccessToken.

Scroll to Top