LaunchBoxCONTRIBUTORS
On this page

14.1 Beta 1 SDK

This reference documents the current beta SDK. Beta APIs can change before stable.

PluginCredentialSnapshot14.1 Beta

C#
public sealed class Unbroken.LaunchBox.Plugins.Connections.PluginCredentialSnapshot
An immutable, secret-bearing snapshot for conditional credential updates. Never log or persist it.

Constructors

PluginCredentialSnapshot 14.1 Beta

C#
public PluginCredentialSnapshot(Unbroken.LaunchBox.Plugins.Connections.PluginStoredConnection connection, string revision, System.Collections.Generic.IReadOnlyDictionary<string, string> values)
Creates a snapshot for a credential-store implementation.
connection 14.1 Beta
The saved descriptor.
revision 14.1 Beta
An opaque store-scoped revision that changes when saved state changes or is recreated.
values 14.1 Beta
Saved secret values; copied with ordinal value-name comparison.

Properties

Connection 14.1 Beta

C#
public Unbroken.LaunchBox.Plugins.Connections.PluginStoredConnection Connection { get; }
Gets the descriptor read with these values.

Revision 14.1 Beta

C#
public string Revision { get; }
Gets the opaque comparison token. It is not an account identity.

Values 14.1 Beta

C#
public System.Collections.Generic.IReadOnlyDictionary<string, string> Values { get; }
Gets the secret values. Do not expose them in diagnostics or presentation.

Methods

GetValue 14.1 Beta

C#
public string? GetValue(string name)
Gets a saved value using ordinal name comparison.
name 14.1 Beta
The value name.

Returns

The value, or null when absent.