PHP 클래스 Phalcon\Test\Proxy\Security

저자: Andres Gutierrez ([email protected])
저자: Nikolaos Dimopoulos ([email protected])
상속: extends Phalcon\Security
파일 보기 프로젝트 열기: phalcon/cphalcon 1 사용 예제들

공개 메소드들

메소드 설명
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 )

메소드 상세

checkHash() 공개 메소드

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

checkToken() 공개 메소드

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

computeHmac() 공개 메소드

public computeHmac ( string $data, string $key, string $algo, boolean $raw = false ) : string
$data string
$key string
$algo string
$raw boolean
리턴 string

getDI() 공개 메소드

public getDI ( )

getRandomBytes() 공개 메소드

public getRandomBytes ( )

getSaltBytes() 공개 메소드

public getSaltBytes ( $numberBytes )

getSessionToken() 공개 메소드

public getSessionToken ( )

getToken() 공개 메소드

public getToken ( )

getTokenKey() 공개 메소드

public getTokenKey ( )

hash() 공개 메소드

public hash ( $password, $workFactor )

isLegacyHash() 공개 메소드

public isLegacyHash ( $passwordHash )

setDI() 공개 메소드

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

setRandomBytes() 공개 메소드

public setRandomBytes ( $randomBytes )