PHP Interface Neos\Flow\Security\Authentication\AuthenticationProviderInterface

Has to add a TokenInterface to the security context, which contains.
Afficher le fichier Open project: neos/flow-development-collection

Méthodes publiques

Méthode Description
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.

Method Details

authenticate() public méthode

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

canAuthenticate() public méthode

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
Résultat boolean TRUE if the given token class can be authenticated by this provider

getTokenClassNames() public méthode

Returns the classnames of the tokens this provider is responsible for.
public getTokenClassNames ( ) : array
Résultat array The classname of the token this provider is responsible for