Class AuthorizationResource
- Namespace
- Excalibur.A3.Authorization
- Assembly
- Excalibur.A3.Abstractions.dll
A resource targeted by an action.
public sealed record AuthorizationResource : IEquatable<AuthorizationResource>
- Inheritance
-
AuthorizationResource
- Implements
- Inherited Members
Constructors
AuthorizationResource(string, string, IReadOnlyDictionary<string, string>?)
A resource targeted by an action.
public AuthorizationResource(string Type, string Id, IReadOnlyDictionary<string, string>? Attributes)
Parameters
TypestringLogical type of the resource (e.g., "Order").
IdstringStable identifier of the resource instance.
AttributesIReadOnlyDictionary<string, string>Optional resource attributes (e.g., owner, labels).
Properties
Attributes
Optional resource attributes (e.g., owner, labels).
public IReadOnlyDictionary<string, string>? Attributes { get; init; }
Property Value
Id
Stable identifier of the resource instance.
public string Id { get; init; }
Property Value
Type
Logical type of the resource (e.g., "Order").
public string Type { get; init; }