/**
* Validates the code, which was entered by the user
*
* @param \Scheb\TwoFactorBundle\Model\InWebo\TwoFactorInterface $user
* @param integer $code
* @return bool
*/
public function checkCode(TwoFactorInterface $user, $code)
{
return $this->authenticator->checkCode($user, $code);
}