Skip to content

Class IdentityPolicyMetadataKeys

Namespace: Cephalon.Identity.Policies
Assembly: Cephalon.Identity.dll

Defines the metadata keys understood by the built-in Cephalon identity evaluator.

public static class IdentityPolicyMetadataKeys

objectIdentityPolicyMetadataKeys

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

The metadata key prefix for required evaluation-context attributes.

public const string ContextAttributePrefix = "context."

string

The metadata key that requires the current subject to match the resource owner when set to true.

public const string RequireOwner = "requireOwner"

string

The metadata key that requires the subject, resource, and context to stay within the same tenant boundary when set to true.

public const string RequireTenantMatch = "requireTenantMatch"

string

The metadata key that controls how should be matched.

public const string RequiredRoleMatch = "requiredRoleMatch"

string

The value used by when all listed roles must be present.

public const string RequiredRoleMatchAll = "all"

string

The value used by when any listed role may satisfy the policy.

public const string RequiredRoleMatchAny = "any"

string

The metadata key that lists required subject roles as a comma-separated value.

public const string RequiredRoles = "requiredRoles"

string

The metadata key prefix for required resource attributes.

public const string ResourceAttributePrefix = "resource."

string

The metadata key prefix for required subject attributes.

public const string SubjectAttributePrefix = "subject."

string