Auth controller comment
This commit is contained in:
@ -35,6 +35,12 @@ namespace IO.Swagger.Controllers
|
|||||||
private readonly IUserRepository repository;
|
private readonly IUserRepository repository;
|
||||||
private readonly JwtService jwt;
|
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)
|
public AuthApiController(IUserRepository repository, JwtService jwt)
|
||||||
{
|
{
|
||||||
this.repository = repository ?? throw new ArgumentNullException(nameof(repository));
|
this.repository = repository ?? throw new ArgumentNullException(nameof(repository));
|
||||||
|
|||||||
Reference in New Issue
Block a user