Interface IGrantCommand
- Namespace
- Excalibur.A3.Authorization
- Assembly
- Excalibur.A3.Abstractions.dll
Marker interface for commands that create or modify grants.
public interface IGrantCommand
Remarks
Enables middleware (e.g., SoD preventive enforcement) to detect grant-related commands without reflection or hard-coded type-name matching.
Properties
GrantType
Gets the type of grant being created or modified.
string GrantType { get; }
Property Value
- string
The grant type (e.g., Activity, ActivityGroup, Role).
Qualifier
Gets the qualifier (scope) of the grant being created or modified.
string Qualifier { get; }
Property Value
- string
The grant qualifier.
UserId
Gets the identifier of the user receiving the grant.
string UserId { get; }
Property Value
- string
The user/subject identifier.