Table of Contents

Class IdProofingKeys

Namespace
SEBT.Portal.Core.Models.Auth
Assembly
SEBT.Portal.Core.dll

Maps ProtectedResource+ProtectedAction enum pairs to the config key strings used in IdProofingRequirements.

public static class IdProofingKeys
Inheritance
object
IdProofingKeys

Properties

AllValidKeys

Returns all valid config key strings, derived from the enum values. Used by the config binder to warn on unrecognized keys.

public static IReadOnlySet<string> AllValidKeys { get; }

Property Value

IReadOnlySet<string>

Methods

ToConfigKey(ProtectedResource, ProtectedAction)

Converts a resource+action enum pair to its config key string.

public static string ToConfigKey(ProtectedResource resource, ProtectedAction action)

Parameters

resource ProtectedResource
action ProtectedAction

Returns

string