Class HeldClientSession
- Namespace
- MailFathom.Application.Access.Sessions
- Assembly
- MailFathom.Application.dll
One session the deployment is holding, as the row naming it reports it.
public sealed record HeldClientSession : IEquatable<HeldClientSession>
- Inheritance
-
HeldClientSession
- Implements
- Inherited Members
Remarks
The digest crosses the port rather than the comparison, for the reason the signal ticket's does: the store answers what it holds, and whether a presented value proves it is decided by the type that also decides what a malformed value is. A row read out of the database, a dump, or a backup is therefore not a session.
Constructors
- HeldClientSession(ClientSessionGrant, ReadOnlyMemory<byte>, DateTimeOffset, UserEndpointAccess)
One session the deployment is holding, as the row naming it reports it.
Properties
- AllowedSourceNetworks
Gets the networks the credential the session was minted under is accepted from, read beside the session for the reason EndpointAccess is, and empty for no restriction.
- EndpointAccess
Which endpoints the session's user may be served on now, read from the user row in the statement that read the session rather than stored on it, so a switch turned off reaches a session minted before it.
- ExpiresAt
When presenting the token stops working, in UTC.
- Grant
What the session admits, which the exchange established and a renewal carries forward.
- SecretDigest
The digest of the secret half, which the presented secret is compared against in constant time.