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

getAuthenticationStatus() public méthode

Returns the current authentication status
public getAuthenticationStatus ( ) : integer
Résultat integer One of NO_CREDENTIALS_GIVEN, WRONG_CREDENTIALS, AUTHENTICATION_SUCCESSFUL, AUTHENTICATION_NEEDED
    public function getAuthenticationStatus()
    {
        return $this->authenticationStatus;
    }

Usage Example

 /**
  * @test
  */
 public function theAuthenticationStatusIsCorrectlyInitialized()
 {
     $this->assertSame(TokenInterface::NO_CREDENTIALS_GIVEN, $this->token->getAuthenticationStatus());
 }