public setAuthenticationEntryPoint ( Neos\Flow\Security\Authentication\EntryPointInterface $entryPoint ) : void | ||
$entryPoint | Neos\Flow\Security\Authentication\EntryPointInterface | The authentication entry point |
return | void |
public function setAuthenticationEntryPoint(EntryPointInterface $entryPoint)
{
$this->entryPoint = $entryPoint;
}
/** * @test */ public function authenticationEntryPointCanBeSetAndRetrieved() { $entryPoint = new WebRedirect(); $this->token->setAuthenticationEntryPoint($entryPoint); $this->assertSame($entryPoint, $this->token->getAuthenticationEntryPoint()); }