Class ClaimScopeProps
H5 (v1.0 DoD §5): Reusable named bundle of rules.
Conceptually equivalent to Keycloak's Client Scope: an admin defines a scope
once (e.g. "tenant_metadata") with a set of claim mappers attached via
parent_id, then assigns the scope to one or more applications via
. A token issued for an application gets
claims from: global mappers ∪ application-overlay mappers ∪ assigned-scopes mappers.
Base fields used: name = display name; the unique identifier lives in
under [RedbUnique].
[RedbScheme("identity.claim_scope")]
public class ClaimScopeProps
Inheritance
Properties
Enabled
When false, all assignments referencing this scope are inert — mappers under it
public bool Enabled { get; set; }
ScopeName
Unique scope identifier (slug) — unique per scheme via [RedbUnique] on all
public string? ScopeName { get; set; }