Table of Contents

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

Type string

Logical type of the resource (e.g., "Order").

Id string

Stable identifier of the resource instance.

Attributes IReadOnlyDictionary<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

IReadOnlyDictionary<string, string>

Id

Stable identifier of the resource instance.

public string Id { get; init; }

Property Value

string

Type

Logical type of the resource (e.g., "Order").

public string Type { get; init; }

Property Value

string