Class UserCredentialProvisioning
- Namespace
- MailFathom.Application.Access.Credentials
- Assembly
- MailFathom.Application.dll
What provisioning a credential did, and what only the act that performed it can report.
public sealed record UserCredentialProvisioning : IEquatable<UserCredentialProvisioning>
- Inheritance
-
UserCredentialProvisioning
- Implements
- Inherited Members
Remarks
The identifier travels beside the outcome because it is the one thing a caller cannot have known in advance and the one thing every later act on the credential names. MintedKey travels the same way for a stronger reason: it exists here and nowhere else, so a caller that drops it has lost the credential rather than mislaid it. ToString() is redacted so that no diagnostic renders one.
Constructors
- UserCredentialProvisioning(UserCredentialWriteOutcome, Guid, UserCredentialLookup, string?, OrganizationShortName)
What provisioning a credential did, and what only the act that performed it can report.
Properties
- CredentialId
The identifier the credential was minted with, which is meaningful only when the act was performed.
- Lookup
The value the credential is resolved by, which a client has to be told for two of the four methods.
- Organization
The organization a password credential was scoped to as it was written, which decides the login a person types; unspecified for every other method and for an act that wrote nothing.
- Outcome
What the act did, or why it did nothing.
Methods
- ToString()
Returns a string that represents the current object.