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
 /**
  * @test
  * @expectedException \Neos\Flow\Security\Exception\UnsupportedAuthenticationTokenException
  */
 public function authenticatingAnUnsupportedTokenThrowsAnException()
 {
     $someInvalidToken = $this->createMock(TokenInterface::class);
     $authenticationProvider = new FileBasedSimpleKeyProvider('myProvider');
     $authenticationProvider->authenticate($someInvalidToken);
 }