PHP Class Phalcon\Test\Proxy\Security

Author: Andres Gutierrez ([email protected])
Author: Nikolaos Dimopoulos ([email protected])
Inheritance: extends Phalcon\Security
Afficher le fichier Open project: phalcon/cphalcon Class Usage Examples

Méthodes publiques

Méthode Description
checkHash ( $password, $passwordHash, $maxPassLength )
checkToken ( $tokenKey = null, $tokenValue = null, $destroyIfValid = true )
computeHmac ( string $data, string $key, string $algo, boolean $raw = false ) : string
getDI ( )
getRandomBytes ( )
getSaltBytes ( $numberBytes )
getSessionToken ( )
getToken ( )
getTokenKey ( )
hash ( $password, $workFactor )
isLegacyHash ( $passwordHash )
setDI ( Phalcon\DiInterface $di )
setRandomBytes ( $randomBytes )

Method Details

checkHash() public méthode

public checkHash ( $password, $passwordHash, $maxPassLength )

checkToken() public méthode

public checkToken ( $tokenKey = null, $tokenValue = null, $destroyIfValid = true )

computeHmac() public méthode

public computeHmac ( string $data, string $key, string $algo, boolean $raw = false ) : string
$data string
$key string
$algo string
$raw boolean
Résultat string

getDI() public méthode

public getDI ( )

getRandomBytes() public méthode

public getRandomBytes ( )

getSaltBytes() public méthode

public getSaltBytes ( $numberBytes )

getSessionToken() public méthode

public getSessionToken ( )

getToken() public méthode

public getToken ( )

getTokenKey() public méthode

public getTokenKey ( )

hash() public méthode

public hash ( $password, $workFactor )

isLegacyHash() public méthode

public isLegacyHash ( $passwordHash )

setDI() public méthode

public setDI ( Phalcon\DiInterface $di )
$di Phalcon\DiInterface

setRandomBytes() public méthode

public setRandomBytes ( $randomBytes )