Class TokensController

Assembly: redb.Identity.Management.dll

REST management API for token administration: listing, revoking, pruning.
Forwards to direct-vm://identity-manage-tokens route.

[Route("tokens")]
public class TokensController : IdentityControllerBase

Inheritance

Inherited Members

Methods

List(string?, int, int)

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

Prune(string?)

[HttpPost("prune")]
public Task<object?> Prune(string? dryRun = null)

Revoke(string)

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

RevokeBySubject(Dictionary<string, object>)

[HttpPost("revoke-by-subject")]
public Task<object?> RevokeBySubject(Dictionary<string, object> request)