Struct OtpVerifyResult

Assembly: redb.Identity.Core.dll

Result of .

public readonly record struct OtpVerifyResult : IEquatable<OtpVerifyResult>

Implements

Properties

Method

Method string (sms/email) recorded on the row, if loaded.

public string? Method { get; init; }

Reason

Diagnostic reason; values: ok, not_found, expired,

public string Reason { get; init; }

Success

Whether the code verified AND the row was successfully consumed.

public bool Success { get; init; }

Constructors