Table of Contents

Namespace Htmx.Components.Services

Classes

AuthorizationMetadata

Contains authorization metadata extracted from controller action attributes.

AuthorizationMetadataService

Implements authorization metadata extraction and evaluation with caching capabilities.

AuthorizationMetadataSettings

Configuration settings for the authorization metadata service.

DescriptorExtensions

Provides extension methods for controller action descriptors.

ModelHandlerFactory

Provides a factory interface for creating model handlers without direct dependency on the model registry. This factory helps avoid dependency injection recursion issues when injecting into controllers.

ModelRegistry

Implements model handler registration and retrieval functionality. This class manages a registry of model handlers and provides lazy initialization of handlers when requested.

Interfaces

IAuthorizationMetadataService

Provides services for extracting and evaluating authorization metadata from controller actions.

IModelHandlerFactory

Factory interface for creating model handlers. Inject this into your controllers rather than IModelRegistry in order to avoid DI recursion issues.

IModelHandlerFactoryGeneric

Factory interface for creating strongly-typed model handlers. Inject this into your controllers rather than IModelRegistry in order to avoid DI recursion issues.

IModelRegistry

Provides a contract for registering and retrieving model handlers for different entity types. Model handlers define how entities are displayed, edited, and managed in the UI.

IRoleService

Provides role-based authorization services for checking user permissions.