PHP Class Neos\Flow\Security\Authentication\Provider\TestingProvider

Inheritance: extends AbstractProvider
Datei anzeigen Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$account Neos\Flow\Security\Account
$authenticationStatus integer

Public Methods

Method Description
authenticate ( Neos\Flow\Security\Authentication\TokenInterface $authenticationToken ) : void Sets isAuthenticated to TRUE for all tokens.
getTokenClassNames ( ) : array Returns the class names of the tokens this provider can authenticate.
reset ( ) : void Reset the authentication status and account
setAccount ( Account $account ) : void Set the account that will be authenticated
setAuthenticationStatus ( integer $authenticationStatus ) : void Set the authentication status for authentication
setName ( string $name ) : void Set the provider name

Method Details

authenticate() public method

Sets isAuthenticated to TRUE for all tokens.
public authenticate ( Neos\Flow\Security\Authentication\TokenInterface $authenticationToken ) : void
$authenticationToken Neos\Flow\Security\Authentication\TokenInterface The token to be authenticated
return void

getTokenClassNames() public method

Returns the class names of the tokens this provider can authenticate.
public getTokenClassNames ( ) : array
return array

reset() public method

Reset the authentication status and account
public reset ( ) : void
return void

setAccount() public method

Set the account that will be authenticated
public setAccount ( Account $account ) : void
$account Neos\Flow\Security\Account
return void

setAuthenticationStatus() public method

Set the authentication status for authentication
public setAuthenticationStatus ( integer $authenticationStatus ) : void
$authenticationStatus integer
return void

setName() public method

Set the provider name
public setName ( string $name ) : void
$name string
return void

Property Details

$account protected_oe property

protected Account,Neos\Flow\Security $account
return Neos\Flow\Security\Account

$authenticationStatus protected_oe property

protected int $authenticationStatus
return integer