Neos\Flow\Security\Authentication\Token\AbstractToken::getAuthenticationEntryPoint PHP Method

getAuthenticationEntryPoint() public method

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

Usage Example

コード例 #1
0
 /**
  * @test
  */
 public function authenticationEntryPointCanBeSetAndRetrieved()
 {
     $entryPoint = new WebRedirect();
     $this->token->setAuthenticationEntryPoint($entryPoint);
     $this->assertSame($entryPoint, $this->token->getAuthenticationEntryPoint());
 }