XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
User_Utils Class Reference

Static Public Member Functions

static setupUser (&$principal, &$controller, &$context)
 
static convertUrlToUser (&$url)
 
static encryptPassword ($password)
 
static passwordVerify ($password, $hash)
 
static passwordNeedsRehash ($value)
 
static checkUsersPassColumnLength ()
 

Detailed Description

Definition at line 43 of file Primary.class.php.

Member Function Documentation

◆ checkUsersPassColumnLength()

static checkUsersPassColumnLength ( )
static

check pass colmun length of users table

Returns
bool Users pass column length is fixed (VARCHAR(191))

Definition at line 139 of file Primary.class.php.

◆ convertUrlToUser()

static convertUrlToUser ( & $url)
static

Definition at line 79 of file Primary.class.php.

◆ encryptPassword()

static encryptPassword ( $password)
static

To encrypt hash of password

Parameters
string$passwordThe password
Returns
string encrypt hashed password

Definition at line 98 of file Primary.class.php.

◆ passwordNeedsRehash()

static passwordNeedsRehash ( $value)
static

Is password hash needs rehash

Parameters
string$valueThe hash value
Returns
bool needs rehash

Definition at line 127 of file Primary.class.php.

◆ passwordVerify()

static passwordVerify ( $password,
$hash )
static

Password veryfy with hash

Parameters
string$passwordThe password
string$hashThe hash
Returns
bool password match to hash

Definition at line 113 of file Primary.class.php.

◆ setupUser()

static setupUser ( & $principal,
& $controller,
& $context )
static

Definition at line 45 of file Primary.class.php.


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