Method UnprotectConsent(string, TimeSpan)

Assembly: redb.Identity.Http.dll

Verifies and decodes a consent ticket produced by .
Returns null when the ticket is missing, tampered, or older than
maxAge.

public ConsentTicket? UnprotectConsent(string ticket, TimeSpan maxAge)