Table of Contents

Class IdProofingRequirementsSettings

Namespace
SEBT.Portal.Core.AppSettings
Assembly
SEBT.Portal.Core.dll

Unified settings for all identity proofing requirements, keyed by resource+action (e.g. "address+view", "card+write"). See docs/config/ial/README.md for the configuration guide.

public class IdProofingRequirementsSettings : IHaveConfigSectionName
Inheritance
object
IdProofingRequirementsSettings
Implements

Properties

Requirements

Map of config key (e.g. "address+view") to its IAL requirement. Populated by ConfigureIdProofingRequirements.

public Dictionary<string, IalRequirement> Requirements { get; set; }

Property Value

Dictionary<string, IalRequirement>

SectionName

public static string SectionName { get; }

Property Value

string

Methods

Get(ProtectedResource, ProtectedAction)

Gets the requirement for a resource+action enum pair.

public IalRequirement Get(ProtectedResource resource, ProtectedAction action)

Parameters

resource ProtectedResource
action ProtectedAction

Returns

IalRequirement

Get(string)

Gets the requirement for a config key. Returns Default() (IAL1plus) if the key is not configured — fail-safe by design.

public IalRequirement Get(string key)

Parameters

key string

Returns

IalRequirement

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.