PHP 클래스 Contao\CoreBundle\Test\Security\ContaoAuthenticatorTest

파일 보기 프로젝트 열기: contao/core-bundle

공개 메소드들

메소드 설명
testAuthenticateInvalidToken ( ) Tests authenticating an invalid token.
testAuthenticateToken ( ) Tests authenticating a token.
testAuthenticateTokenWithoutContainer ( ) Tests authenticating a token without the container being set.
testCreateToken ( ) Tests creating an authentication token.
testInstantiation ( ) Tests the object instantiation.
testSupportsToken ( ) Tests the token support.

비공개 메소드들

메소드 설명
mockUser ( ) : User | PHPUnit_Framework_MockObject_MockObject Mocks a user object.
mockUserProvider ( ) : Symfony\Component\Security\Core\User\UserProviderInterface | PHPUnit_Framework_MockObject_MockObject Mocks a user provider object.

메소드 상세

testAuthenticateInvalidToken() 공개 메소드

Tests authenticating an invalid token.

testAuthenticateToken() 공개 메소드

Tests authenticating a token.

testAuthenticateTokenWithoutContainer() 공개 메소드

Tests authenticating a token without the container being set.

testCreateToken() 공개 메소드

Tests creating an authentication token.
public testCreateToken ( )

testInstantiation() 공개 메소드

Tests the object instantiation.
public testInstantiation ( )

testSupportsToken() 공개 메소드

Tests the token support.
public testSupportsToken ( )