PHP Class Symfony\Component\Security\Core\Tests\Authentication\Provider\UserAuthenticationProviderTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: symfony/symfony

Public Methods

Method Description
testAuthenticate ( )
testAuthenticateWhenPostCheckAuthenticationFails ( )
testAuthenticateWhenPostCheckAuthenticationFailsWithHideFalse ( )
testAuthenticateWhenPostChecksFails ( )
testAuthenticateWhenPreChecksFails ( )
testAuthenticateWhenProviderDoesNotReturnAnUserInterface ( )
testAuthenticateWhenTokenIsNotSupported ( )
testAuthenticateWhenUsernameIsNotFound ( )
testAuthenticateWhenUsernameIsNotFoundAndHideIsTrue ( )
testAuthenticateWithPreservingRoleSwitchUserRole ( )
testSupports ( )

Protected Methods

Method Description
getProvider ( $userChecker = false, $hide = true )
getSupportedToken ( )

Method Details

getProvider() protected method

protected getProvider ( $userChecker = false, $hide = true )

getSupportedToken() protected method

protected getSupportedToken ( )

testAuthenticate() public method

public testAuthenticate ( )

testAuthenticateWhenPostCheckAuthenticationFails() public method

testAuthenticateWhenPostCheckAuthenticationFailsWithHideFalse() public method

testAuthenticateWhenPostChecksFails() public method

testAuthenticateWhenPreChecksFails() public method

testAuthenticateWhenProviderDoesNotReturnAnUserInterface() public method

testAuthenticateWhenTokenIsNotSupported() public method

testAuthenticateWhenUsernameIsNotFound() public method

testAuthenticateWhenUsernameIsNotFoundAndHideIsTrue() public method

testAuthenticateWithPreservingRoleSwitchUserRole() public method

testSupports() public method

public testSupports ( )