LEPTON CMS 7.2.0
feel free to keep it strictly simple...
Loading...
Searching...
No Matches
LEPTON_login Class Reference

Inherits LEPTON_admin.

Public Member Functions

 __construct (array $config_array=[])
 
 authenticate ()
 
 increase_attempts ()
 
 display_login ()
 
 warn ()
 
- Public Member Functions inherited from LEPTON_admin
 __construct (string $section_name="Pages", string $section_permission='start', bool $auto_header=true, bool $auto_auth=true)
 
 get_permission (string $name, string $type='system')
 
 get_page_details (int $page_id)
 
 get_page_permission (int $page_id, string $action='admin')
 
 get_link_permission (string $title)
 
 getGroupsPermissions (string $what)
 
 getUsersPermissions (string $what)
 
 getPagesPermissions (string $what)
 
 print_header ()
 
 print_footer ()
 
 print_success (string|array $message, string $redirect='index.php', bool $auto_footer=true)
 
 print_error (string|array $message, string $link='index.php', bool $auto_footer=true)
 
 getHeaderStorage ()
 
 resetObject ()
 
 userHasAdminToolPermission ()
 

Static Public Member Functions

static getInstance (array $config_array=[])
 
- Static Public Member Functions inherited from LEPTON_admin
static getInstance ()
 
static get_user_details (int $user_id)
 
static getUserPermission (string $sPermissionName="")
 

Data Fields

string $message = ''
 
string $redirect_url = ""
 
bool $frontend = false
 
const FINGERPRINT_HASH_ALGO = "haval128,4"
 
- Data Fields inherited from LEPTON_admin
array $header_storage
 
lib_twig_box $oTWIG = null
 

Static Public Attributes

static $instance
 
- Static Public Attributes inherited from LEPTON_admin
static $instance
 

Additional Inherited Members

- Protected Attributes inherited from LEPTON_admin
string $section_name = ""
 
string $section_permission = ""
 

Detailed Description

This file is part of LEPTON Core, released under the GNU GPL Please see LICENSE and COPYING files in your package for details, specially for terms and warranties.

NOTICE:LEPTON CMS Package has several different licenses. Please see the individual license in the header of each single file or info.php of modules and templates.

Author
LEPTON Project

Definition at line 21 of file lepton_login.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( array $config_array = [])
Parameters
array$config_array

reset the temp Counter

Definition at line 85 of file lepton_login.php.

Member Function Documentation

◆ authenticate()

authenticate ( )
Returns
bool

Definition at line 349 of file lepton_login.php.

◆ display_login()

display_login ( )
Returns
void

Definition at line 535 of file lepton_login.php.

◆ getInstance()

static getInstance ( array $config_array = [])
static

Return the instance of this class.

Parameters
array$config_arrayAssoc array with config vars.
Returns
object The generated instance of theis class

Definition at line 73 of file lepton_login.php.

◆ increase_attempts()

increase_attempts ( )
Returns
void

Definition at line 515 of file lepton_login.php.

◆ warn()

warn ( )

Definition at line 589 of file lepton_login.php.

Field Documentation

◆ $frontend

bool $frontend = false

Definition at line 44 of file lepton_login.php.

◆ $instance

$instance
static

@type object The reference to the Singleton instance of this class. @notice Keep in mind that a child-object has to have his own one!

Definition at line 57 of file lepton_login.php.

◆ $message

string $message = ''

Definition at line 30 of file lepton_login.php.

◆ $redirect_url

string $redirect_url = ""

Definition at line 39 of file lepton_login.php.

◆ FINGERPRINT_HASH_ALGO

const FINGERPRINT_HASH_ALGO = "haval128,4"

L* 5.3

See also
: https://www.php.net/manual/de/function.hash.php especially the User Contributed Notes!

Definition at line 64 of file lepton_login.php.


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