PluginCredentialSnapshot14.1
Class in Unbroken.LaunchBox.Plugins.Services.Storage
public sealed class PluginCredentialSnapshotAn immutable, secret-bearing snapshot for conditional credential updates. Never log or persist it.
Constructors
PluginCredentialSnapshotCreates a snapshot for a credential-store implementation.
PluginCredentialSnapshot
public PluginCredentialSnapshot(
PluginStoredConnection connection,
string revision,
IReadOnlyDictionary<string, string> values
)Creates a snapshot for a credential-store implementation.
connection- The saved descriptor.
revision- An opaque store-scoped revision that changes when saved state changes or is recreated.
values- Saved secret values; copied with ordinal value-name comparison.
Properties
ConnectionGets the descriptor read with these values.RevisionGets the opaque comparison token. It is not an account identity.ValuesGets the secret values. Do not expose them in diagnostics or presentation.
Connection
public PluginStoredConnection Connection { get; }Gets the descriptor read with these values.
Revision
public string Revision { get; }Gets the opaque comparison token. It is not an account identity.
Values
public IReadOnlyDictionary<string, string> Values { get; }Gets the secret values. Do not expose them in diagnostics or presentation.
Methods
GetValueGets a saved value using ordinal name comparison.
GetValue
public string? GetValue(string name)Gets a saved value using ordinal name comparison.
name- The value name.