FusionDirectory
Static Public Member Functions | Static Public Attributes | Static Protected Member Functions
LoginPost Class Reference

Login via POST. More...

Inheritance diagram for LoginPost:
Inheritance graph
[legend]

Static Public Member Functions

static getLabel ()
 Displayed name.
 
static loginProcess ()
 All login steps in the right order for standard POST login.
 
static displaySecondFactorPage ()
 Display the second factor page and exit()
 
- Static Public Member Functions inherited from LoginMethod
static runSchemaCheck ()
 Runs schemaCheck if activated in configuration.
 
static checkForLockingBranch ()
 Check if locking LDAP branch is here or create it.
 
static validateUserInput ()
 Check username for invalid characters and check password is not empty Also trims username.
 
static ldapLoginUser ()
 Performs an LDAP bind with $username and $password.
 
static loginAndCheckExpired ()
 Called after successful login, return FALSE if account is expired.
 
static connect ()
 Connect user.
 
static redirect ()
 Final step of successful login: redirect to main.php.
 
static runSteps ($steps)
 Run each step in $steps, stop on errors.
 
static loginProcess ()
 All login steps in the right order.
 
static getLabel ()
 Displayed name for each login method. Returning FALSE disables a method.
 

Static Public Attributes

static $secondFactorMethods = ['SecondFactorWebAuthn','SecondFactorTotp','SecondFactorRecoveryCode']
 List of second factor methods, may be dynamic later.
 

Static Protected Member Functions

static redirectSecondFactorPage ()
 Redirect to the second factor page.
 
static displayLogin ()
 Display the login page and exit()
 

Detailed Description

Login via POST.

Definition at line 24 of file class_LoginPost.inc.


The documentation for this class was generated from the following file: