Table of Contents

Class MintedClientSessionRow

Namespace
MailFathom.Application.Access.Sessions
Assembly
MailFathom.Application.dll

The row a mint or a renewal writes, composed by the caller that drew the token it names.

public sealed record MintedClientSessionRow : IEquatable<MintedClientSessionRow>
Inheritance
MintedClientSessionRow
Implements
Inherited Members

Remarks

It carries no grant, because the two writers establish one differently and neither lets the caller state it: a mint takes the narrowing the exchange's credential applied, and a renewal takes the one the row it removes was holding. A shape carrying one would let a renewal be asked to write a wider narrowing than the session it replaces.

Constructors

MintedClientSessionRow(string, ReadOnlyMemory<byte>, DateTimeOffset)

The row a mint or a renewal writes, composed by the caller that drew the token it names.

Properties

ExpiresAt

When presenting the token stops working, in UTC.

Identifier

The public half of the token, which the row is keyed by and which a request presents in the open.

SecretDigest

The digest of the secret half, so what the deployment keeps opens nothing on its own.