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

Inheritance: extends AbstractProvider
Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$account Neos\Flow\Security\Account
$authenticationStatus integer

Méthodes publiques

Méthode 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 méthode

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
Résultat void

getTokenClassNames() public méthode

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

reset() public méthode

Reset the authentication status and account
public reset ( ) : void
Résultat void

setAccount() public méthode

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

setAuthenticationStatus() public méthode

Set the authentication status for authentication
public setAuthenticationStatus ( integer $authenticationStatus ) : void
$authenticationStatus integer
Résultat void

setName() public méthode

Set the provider name
public setName ( string $name ) : void
$name string
Résultat void

Property Details

$account protected_oe property

protected Account,Neos\Flow\Security $account
Résultat Neos\Flow\Security\Account

$authenticationStatus protected_oe property

protected int $authenticationStatus
Résultat integer