PHP 클래스 Phalcon\Test\Unit\SecurityTest

저자: Andres Gutierrez ([email protected])
저자: Nikolaos Dimopoulos ([email protected])
파일 보기 프로젝트 열기: phalcon/cphalcon

공개 메소드들

메소드 설명
testCheckToken ( ) Tests Security::checkToken
testGetSaltBytes ( ) Tests Security::getSaltBytes
testHash ( ) Tests Security::hash
testOneTokenPerRequest ( ) Tests Security::getToken and Security::getTokenKey for generating only one token per request
testSecurityComputeHMAC ( ) Tests the HMAC computation
testSecurityConstants ( ) Tests the Security constants
testSecurityDefaults ( ) Tests the security defaults

보호된 메소드들

메소드 설명
_before ( ) executed before each test

비공개 메소드들

메소드 설명
setupDI ( ) : Di Set up the environment.

메소드 상세

_before() 보호된 메소드

executed before each test
protected _before ( )

testCheckToken() 공개 메소드

Tests Security::checkToken
public testCheckToken ( )

testGetSaltBytes() 공개 메소드

Tests Security::getSaltBytes
public testGetSaltBytes ( )

testHash() 공개 메소드

Tests Security::hash
public testHash ( )

testOneTokenPerRequest() 공개 메소드

Tests Security::getToken and Security::getTokenKey for generating only one token per request

testSecurityComputeHMAC() 공개 메소드

Tests the HMAC computation
부터: 2014-09-12
저자: Nikolaos Dimopoulos ([email protected])

testSecurityConstants() 공개 메소드

Tests the Security constants
부터: 2015-12-19
저자: Serghei Iakovlev ([email protected])

testSecurityDefaults() 공개 메소드

Tests the security defaults