write some comment
This commit is contained in:
parent
8137a33e24
commit
cb75412d19
1 changed files with 6 additions and 0 deletions
|
@ -3,6 +3,12 @@ using Femto.Modules.Auth.Models;
|
||||||
|
|
||||||
namespace Femto.Modules.Auth.Application.Services;
|
namespace Femto.Modules.Auth.Application.Services;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// I broke off IAuthService from IAuthModule because the CQRS distinction is cumbersome when doing auth handling,
|
||||||
|
/// particularly in regards to session management. I may or may not bother to move the commands and queries here also,
|
||||||
|
/// but for controller actions I do quite like having the abstraction, and there is less drive within me to bother.
|
||||||
|
/// It just seems redundant to expose them both, and it's a bit confusin'
|
||||||
|
/// </summary>
|
||||||
public interface IAuthService
|
public interface IAuthService
|
||||||
{
|
{
|
||||||
public Task<UserInfo?> GetUserWithCredentials(string username, string password, CancellationToken cancellationToken = default);
|
public Task<UserInfo?> GetUserWithCredentials(string username, string password, CancellationToken cancellationToken = default);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue