TaskHub.Shared

TaskHub.Shared.Authorization.Abstractions

Contracts for security, tokens, and user management.

Contents

Summary

This module provides the security contracts used across all TaskHub microservices to ensure a unified approach to authentication and authorization.

Key Interfaces

ITokenService

Abstracts the logic for generating and validating security tokens (typically JWT).

IUserService

Provides access to the current authenticated user’s information (Id, Roles, Claims) from the execution context.