src/Traits/TwoFactorAuthenticatesUsers.php
protected function attemptTwoFactor(AuthenticatableTwoFactorContract $user, int $token): bool
    {
        return $this->isValidTwoFactorTotp($user, $token) || $this->isValidTwoFactorBackup($user, $token) || $this->isValidTwoFactorPhone($user, $token);
    }
protected function attemptTwoFactor(AuthenticatableTwoFactorContract $user, int $token): bool
    {
        return $this->isValidTwoFactorTotp($user, $token) || $this->isValidTwoFactorBackup($user, $token) || $this->isValidTwoFactorPhone($user, $token);
    }
protected function attemptTwoFactor ( AuthenticatableTwoFactorContract $ user , int $ token ) : bool { return $ this -> isValidTwoFactorTotp ( $ user , $ token ) || $ this -> isValidTwoFactorBackup ( $ user , $ token ) || $ this -> isValidTwoFactorPhone ( $ user , $ token ) ; }
Verify TwoFactor authentication.

@param \Rinvex\Auth\Contracts\AuthenticatableTwoFactorContract $user
@param int                                                     $token

@return bool
Verify TwoFactor authentication .