Table of Contents

Interface IFireflyDataProtectionProvider

Namespace
Phoesion.Glow.SDK.Firefly
Assembly
Phoesion.Glow.SDK.Firefly.Abstractions.dll

An interface that can be used to create IFireflyDataProtector instances.

public interface IFireflyDataProtectionProvider

Methods

CreateProtector(string)

Creates an IFireflyDataProtector given a purpose.

IFireflyDataProtector CreateProtector(string purpose)

Parameters

purpose string

The purpose to be assigned to the newly-created IFireflyDataProtector.

Returns

IFireflyDataProtector

An IDataProtector tied to the provided purpose.

Remarks

The purpose parameter must be unique for the intended use case; two different IFireflyDataProtector instances created with two different purpose values will not be able to decipher each other's payloads. The purpose parameter value is not intended to be kept secret.