Class ClaimScopeAssignmentProps

Assembly: redb.Identity.Core.dll

H5 (v1.0 DoD §5): Many-to-many link between an Application and a .

Stored as a flat object (no tree relationship) so that adding / removing an assignment
is a single atomic write that does not perturb the application or scope objects.
Enforces uniqueness on (ApplicationId, ScopeId) through application-level check
(no compound partial index — uniqueness is rare-write, frequent-read).

Base fields used: key = ApplicationObjectId for fast indexed lookup of all
assignments for an application.

[RedbScheme("identity.claim_scope_assignment")]
public class ClaimScopeAssignmentProps

Inheritance

Object→ClaimScopeAssignmentProps

Properties

ApplicationId

Application the scope is assigned to. Stored ALSO in _objects.key for indexed

public long ApplicationId { get; set; }

AssignedAt

UTC timestamp the assignment was created.

public DateTimeOffset AssignedAt { get; set; }

AssignedBy

Optional id of the admin user who created the assignment (for audit).

public long? AssignedBy { get; set; }

ScopeId

Object id of the assigned .

public long ScopeId { get; set; }