Table of Contents

Method RevealAsString

Namespace
MailFathom.Domain.Accounts
Assembly
MailFathom.Domain.dll

RevealAsString()

Reveals the token as its UTF-8 text view.

public string RevealAsString()

Returns

string

The decoded token.

Remarks

The returned string cannot be erased and persists until the collector reclaims it, so this accessor exists for the one contract that takes a string: the form field of the token request. Call it there and nowhere else, and never store, log, or pass on the result.

Exceptions

ObjectDisposedException

Thrown when the material has already been erased.