Class ClaimScopesController

Assembly: redb.Identity.Management.dll

H5 (v1.0 DoD §5): REST admin API for reusable Client Scopes (mapper bundles)
AND for Application↔Scope assignments.
Forwards to direct-vm://identity-manage-claim-scopes.

[Route("claim-scopes")]
public class ClaimScopesController : IdentityControllerBase

Inheritance

Object→RedbController→IdentityControllerBase→ClaimScopesController

Inherited Members

Methods

Assign(AssignClaimScopeRequest)

Assigns a scope to an Application (idempotent; returns existing on duplicate).

[HttpPost("assignments")]
public Task<object?> Assign(AssignClaimScopeRequest request)

Create(CreateClaimScopeRequest)

[HttpPost(null)]
public Task<object?> Create(CreateClaimScopeRequest request)

Delete(string)

[HttpDelete("{id}")]
public Task<object?> Delete(string id)

Get(string)

[HttpGet("{id}")]
public Task<object?> Get(string id)

List(int, int)

[HttpGet(null)]
public Task<object?> List(int offset = 0, int count = 25)

ListAssignments(string)

Lists scopes assigned to a given Application.

[HttpGet("assignments")]
public Task<object?> ListAssignments(string applicationId)

Unassign(string, string)

Removes a scope assignment by composite key.

[HttpDelete("assignments")]
public Task<object?> Unassign(string applicationId, string scopeId)

Update(string, UpdateClaimScopeRequest)

[HttpPut("{id}")]
public Task<object?> Update(string id, UpdateClaimScopeRequest request)