Neos\Flow\Security\Authentication\Token\AbstractToken::getAuthenticationEntryPoint PHP Méthode

getAuthenticationEntryPoint() public méthode

Returns the configured authentication entry point, NULL if none is available
public getAuthenticationEntryPoint ( ) : Neos\Flow\Security\Authentication\EntryPointInterface
Résultat Neos\Flow\Security\Authentication\EntryPointInterface The configured authentication entry point, NULL if none is available
    public function getAuthenticationEntryPoint()
    {
        return $this->entryPoint;
    }

Usage Example

 /**
  * @test
  */
 public function authenticationEntryPointCanBeSetAndRetrieved()
 {
     $entryPoint = new WebRedirect();
     $this->token->setAuthenticationEntryPoint($entryPoint);
     $this->assertSame($entryPoint, $this->token->getAuthenticationEntryPoint());
 }