Initial commit with inital CMS
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
namespace SlpModularCms.Core.Identity.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Interface voor het uitnodigingsproces van nieuwe gebruikers.
|
||||
/// </summary>
|
||||
public interface IInvitationService
|
||||
{
|
||||
/// <summary>
|
||||
/// Maakt een nieuwe uitnodiging aan en retourneert het token.
|
||||
/// </summary>
|
||||
Task<string> CreateInvitationAsync(string email, string role);
|
||||
|
||||
/// <summary>
|
||||
/// Valideert of een uitnodigings-token nog geldig is.
|
||||
/// </summary>
|
||||
Task<bool> ValidateInvitationAsync(string token);
|
||||
|
||||
/// <summary>
|
||||
/// Voltooit de uitnodiging door een gebruiker aan te maken met het opgegeven wachtwoord.
|
||||
/// </summary>
|
||||
Task CompleteInvitationAsync(string token, string password);
|
||||
}
|
||||
Reference in New Issue
Block a user