Class CaptchaVerification
- Namespace
- NuvTools.Security.Captcha
- Assembly
- NuvTools.Security.dll
Result of verifying a CAPTCHA token against the provider.
public sealed record CaptchaVerification : IEquatable<CaptchaVerification>
- Inheritance
-
CaptchaVerification
- Implements
- Inherited Members
Constructors
CaptchaVerification(bool, double)
Result of verifying a CAPTCHA token against the provider.
public CaptchaVerification(bool Valid, double Score)
Parameters
ValidboolWhether the token is valid — not expired, not already consumed, and issued by the expected key.
ScoredoubleRisk analysis (0.0 = likely a bot, 1.0 = likely a human). Only meaningful in score mode.
Properties
Score
Risk analysis (0.0 = likely a bot, 1.0 = likely a human). Only meaningful in score mode.
public double Score { get; init; }
Property Value
Valid
Whether the token is valid — not expired, not already consumed, and issued by the expected key.
public bool Valid { get; init; }