NextDom\Ajax\UserAjax
Class UserAjax
Synopsis
class UserAjax
extends BaseAjax
{
- // members
- protected $NEEDED_RIGHTS = UserRight::NOTHING;
- protected boolean $MUST_BE_CONNECTED = false;
- protected boolean $CHECK_AJAX_TOKEN = false;
- // Inherited members from BaseAjax
- protected string $NEEDED_RIGHTS;
- protected boolean $MUST_BE_CONNECTED;
- protected boolean $CHECK_AJAX_TOKEN;
- protected AjaxHelper $ajax;
- // methods
- public void useTwoFactorAuthentification()
- public void login()
- public void getApikey()
- public void validateTwoFactorCode()
- public void removeTwoFactorCode()
- public void isConnect()
- public void refresh()
- public void logout()
- public void all()
- public void save()
- public void remove()
- public void saveProfils()
- public void get()
- public void removeRegisterDevice()
- public void deleteSession()
- public void testLdapConnection()
- public void removeBanIp()
- public void supportAccess()
- // Inherited methods from BaseAjax
- public void __construct()
- public void process()
- protected void checkAccessOrFail()
- protected void checkSizeAndExtension()
Hierarchy
Extends
Members
protected
- $CHECK_AJAX_TOKEN
- $CHECK_AJAX_TOKEN — string
- $MUST_BE_CONNECTED
- $MUST_BE_CONNECTED — string
- $NEEDED_RIGHTS
- $NEEDED_RIGHTS — string
- $ajax — NextDom\Helpers\AjaxHelper
Methods
public
- all()
- deleteSession()
- get()
- getApikey()
- isConnect()
- login()
- logout()
- refresh()
- remove()
- removeBanIp()
- removeRegisterDevice()
- removeTwoFactorCode()
- save()
- saveProfils()
- supportAccess()
- testLdapConnection()
- useTwoFactorAuthentification()
- validateTwoFactorCode()
Inherited from NextDom\Ajax\BaseAjax
protected
- checkAccessOrFail() — Check access of the user. Fail on problem.
- checkSizeAndExtension()
public
- process() — Start the process