PHP Класс Neos\Flow\Security\Authentication\Provider\TestingProvider

Наследование: extends AbstractProvider
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$account Neos\Flow\Security\Account
$authenticationStatus integer

Открытые методы

Метод Описание
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

Описание методов

authenticate() публичный Метод

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
Результат void

getTokenClassNames() публичный Метод

Returns the class names of the tokens this provider can authenticate.
public getTokenClassNames ( ) : array
Результат array

reset() публичный Метод

Reset the authentication status and account
public reset ( ) : void
Результат void

setAccount() публичный Метод

Set the account that will be authenticated
public setAccount ( Account $account ) : void
$account Neos\Flow\Security\Account
Результат void

setAuthenticationStatus() публичный Метод

Set the authentication status for authentication
public setAuthenticationStatus ( integer $authenticationStatus ) : void
$authenticationStatus integer
Результат void

setName() публичный Метод

Set the provider name
public setName ( string $name ) : void
$name string
Результат void

Описание свойств

$account защищенное свойство

protected Account,Neos\Flow\Security $account
Результат Neos\Flow\Security\Account

$authenticationStatus защищенное свойство

protected int $authenticationStatus
Результат integer