Returns the current authentication status
public getAuthenticationStatus ( ) : integer | ||
return | integer | One of NO_CREDENTIALS_GIVEN, WRONG_CREDENTIALS, AUTHENTICATION_SUCCESSFUL, AUTHENTICATION_NEEDED |
/** * @test */ public function theAuthenticationStatusIsCorrectlyInitialized() { $this->assertSame(TokenInterface::NO_CREDENTIALS_GIVEN, $this->token->getAuthenticationStatus()); }