Auth controller comment

This commit is contained in:
2023-08-13 01:18:13 -04:00
parent fdf286e22f
commit 1fde6c3a10

View File

@ -35,6 +35,12 @@ namespace IO.Swagger.Controllers
private readonly IUserRepository repository;
private readonly JwtService jwt;
/// <summary>
/// The controller for the authotization endpoints
/// </summary>
/// <param name="repository"></param>
/// <param name="jwt"></param>
/// <exception cref="ArgumentNullException"></exception>
public AuthApiController(IUserRepository repository, JwtService jwt)
{
this.repository = repository ?? throw new ArgumentNullException(nameof(repository));