Table of Contents

Constructor MintedClientSessionRow

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

MintedClientSessionRow(string, ReadOnlyMemory<byte>, DateTimeOffset)

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

public MintedClientSessionRow(string Identifier, ReadOnlyMemory<byte> SecretDigest, DateTimeOffset ExpiresAt)

Parameters

Identifier string

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

SecretDigest ReadOnlyMemory<byte>

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

ExpiresAt DateTimeOffset

When presenting the token stops working, in UTC.

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.