Class GrantRevocationRequest
- Namespace
- Excalibur.A3.Authorization
- Assembly
- Excalibur.A3.Abstractions.dll
Immutable payload identifying one retryable atomic revocation operation.
public sealed record GrantRevocationRequest : IEquatable<GrantRevocationRequest>
- Inheritance
-
GrantRevocationRequest
- Implements
- Inherited Members
Constructors
GrantRevocationRequest(Guid, string, GrantRevocationScope, string)
Initializes a validated revocation request.
public GrantRevocationRequest(Guid operationId, string userId, GrantRevocationScope scope, string revokedBy)
Parameters
operationIdGuidStable operation identifier reused for retries.
userIdstringExact subject identifier.
scopeGrantRevocationScopeExplicit revocation scope.
revokedBystringActor initiating the operation.
Properties
OperationId
Gets the stable operation identifier.
public Guid OperationId { get; }
Property Value
RevokedBy
Gets the initiating actor.
public string RevokedBy { get; }
Property Value
Scope
Gets the explicit scope.
public GrantRevocationScope Scope { get; }
Property Value
UserId
Gets the exact subject identifier.
public string UserId { get; }