Table of Contents

Interface IAuthorize

Namespace
Trellis.Authorization
Assembly
Trellis.Authorization.dll

Marker interface for commands/queries that require static permissions. Authorization checks verify that the current actor has ALL of the RequiredPermissions before calling the handler.

public interface IAuthorize
Extension Methods

Properties

RequiredPermissions

Permissions the actor must have to execute this command/query. All listed permissions are required (AND logic).

IReadOnlyList<string> RequiredPermissions { get; }

Property Value

IReadOnlyList<string>