public function validateCode($clientRef, $code)
    {
        $response = $this->request('TFA/Validate', array($clientRef, $code));

        $serializer = SerializerBuilder::create()->build();
        $result = $serializer->deserialize(
            $response,
            'Fortytwo\SDK\TwoFactorAuthentication\Response2FA',
            'json'
        );
        return $result;
    }