Class UserCredentialChange
- Namespace
- MailFathom.Application.Access.Credentials
- Assembly
- MailFathom.Application.dll
One administrative change to the credentials a user holds.
public sealed record UserCredentialChange : IEquatable<UserCredentialChange>
- Inheritance
-
UserCredentialChange
- Implements
- Inherited Members
Remarks
Method is optional because three of the five acts are the same act whichever credential they
reached: enabling one, disabling one, and deleting one are asked for by identifier and name no method. Carrying the
unspecified UserCredentialMethod there instead would hand every sink a value whose published name
throws and which no serializer will write, and it would do so after the store write had already committed.
Constructors
- UserCredentialChange(UserCredentialAct, Guid, UserId, UserCredentialMethod?, string, DateTimeOffset)
One administrative change to the credentials a user holds.
Properties
- Act
What was done.
- ActingAdministrator
What the administrative surface admitted the caller as, which is a configured credential's own name rather than a person.
- CredentialId
The credential it was done to.
- Method
How the credential is presented, which is what makes two records about one user readable apart, and null for the acts written against the identifier alone.
- OccurredAt
When the change committed.
- User
The user the credential authenticates.