PHP 인터페이스 Neos\Flow\Security\Authentication\AuthenticationProviderInterface

Has to add a TokenInterface to the security context, which contains.
파일 보기 프로젝트 열기: neos/flow-development-collection

공개 메소드들

메소드 설명
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