PHP Интерфейс Neos\Flow\Security\Authentication\AuthenticationProviderInterface

Has to add a TokenInterface to the security context, which contains.
Показать файл Открыть проект

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

Метод Описание
authenticate ( Neos\Flow\Security\Authentication\TokenInterface $authenticationToken ) : void Tries to authenticate the given token. Sets isAuthenticated to TRUE if authentication succeeded.
canAuthenticate ( Neos\Flow\Security\Authentication\TokenInterface $token ) : boolean Returns TRUE if the given token can be authenticated by this provider
getTokenClassNames ( ) : array Returns the classnames of the tokens this provider is responsible for.

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

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

Tries to authenticate the given token. Sets isAuthenticated to TRUE if authentication succeeded.
public authenticate ( Neos\Flow\Security\Authentication\TokenInterface $authenticationToken ) : void
$authenticationToken Neos\Flow\Security\Authentication\TokenInterface The token to be authenticated
Результат void

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

Returns TRUE if the given token can be authenticated by this provider
public canAuthenticate ( Neos\Flow\Security\Authentication\TokenInterface $token ) : boolean
$token Neos\Flow\Security\Authentication\TokenInterface The token that should be authenticated
Результат boolean TRUE if the given token class can be authenticated by this provider

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

Returns the classnames of the tokens this provider is responsible for.
public getTokenClassNames ( ) : array
Результат array The classname of the token this provider is responsible for