Contracts for security, tokens, and user management.
ITokenService for JWT management.IUserService for user context.This module provides the security contracts used across all TaskHub microservices to ensure a unified approach to authentication and authorization.
Abstracts the logic for generating and validating security tokens (typically JWT).
Provides access to the current authenticated user’s information (Id, Roles, Claims) from the execution context.