mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-04-06 02:19:05 +00:00
Feature: Add token validation, basic confirmation workflow (#164)
This commit is contained in:
11
src/Core/Service/Service.Auth/IConfirmationService.cs
Normal file
11
src/Core/Service/Service.Auth/IConfirmationService.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Domain.Exceptions;
|
||||
using Infrastructure.Repository.Auth;
|
||||
|
||||
namespace Service.Auth;
|
||||
|
||||
public record ConfirmationServiceReturn(DateTime ConfirmedAt, Guid UserId);
|
||||
|
||||
public interface IConfirmationService
|
||||
{
|
||||
Task<ConfirmationServiceReturn> ConfirmUserAsync(string confirmationToken);
|
||||
}
|
||||
Reference in New Issue
Block a user