Method Unprotect(string, TimeSpan?)

Assembly: redb.Identity.Core.dll

Decrypts and validates MFA state. Returns null if invalid, tampered, or expired.

public MfaState? Unprotect(string protectedState, TimeSpan? maxAge = null)