mirror of
https://github.com/RedWizardsLab/EchoHub.git
synced 2026-09-04 16:46:08 +02:00
Generated by AurionDocs
Job ID: 934f8c39-8082-4942-8d17-72ed8f5f8d50
Source commit: 40aea9a
684 B
684 B
AuthController
File:
src/EchoHub.Server/Controllers/AuthController.cs
Kind: class
[ApiController]
[Route("api/auth")]
[EnableRateLimiting("auth")]
public class AuthController : ControllerBase
AuthController is an API controller that hosts authentication endpoints under /api/auth, handling user registration, login, token refresh, and logout. It coordinates user management via IUserService, issues access tokens with JwtTokenService, and persists refresh tokens through the application's EF Core context EchoHubDbContext.