Struct PasswordResetVerifyResult

Assembly: redb.Identity.Core.dll

Result of .

public readonly record struct PasswordResetVerifyResult : IEquatable<PasswordResetVerifyResult>

Implements

Properties

Reason

Diagnostic reason; values: ok, not_found, expired,

public string Reason { get; init; }

Success

Whether the token verified AND the row was successfully consumed.

public bool Success { get; init; }

UserId

Owner user id when is true; otherwise 0.

public long UserId { get; init; }

Constructors