Table of Contents

Interface IConnectionPasswordProtector

Namespace
ItTiger.TigerQuery.Core
Assembly
ItTiger.TigerQuery.Core.dll
Defines how profile passwords are transformed immediately before persistence and immediately after loading.
public interface IConnectionPasswordProtector

Remarks

Implementations may mutate password-related properties on the supplied profile. The store invokes these methods synchronously once per profile and does not provide concurrent calls for a single store operation.

Methods

ProtectForSave(SqlServerConnectionProfile)

Prepares a profile's password fields for JSON persistence.
void ProtectForSave(SqlServerConnectionProfile profile)

Parameters

profile SqlServerConnectionProfile
The mutable profile about to be serialized.

UnprotectAfterLoad(SqlServerConnectionProfile)

Restores usable in-memory password fields after JSON deserialization.
void UnprotectAfterLoad(SqlServerConnectionProfile profile)

Parameters

profile SqlServerConnectionProfile
The mutable profile that was loaded.