Table of Contents

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

operationId Guid

Stable operation identifier reused for retries.

userId string

Exact subject identifier.

scope GrantRevocationScope

Explicit revocation scope.

revokedBy string

Actor initiating the operation.

Properties

OperationId

Gets the stable operation identifier.

public Guid OperationId { get; }

Property Value

Guid

RevokedBy

Gets the initiating actor.

public string RevokedBy { get; }

Property Value

string

Scope

Gets the explicit scope.

public GrantRevocationScope Scope { get; }

Property Value

GrantRevocationScope

UserId

Gets the exact subject identifier.

public string UserId { get; }

Property Value

string