BotSharp/src/Infrastructure/BotSharp.Abstraction/Users/IAuthenticationHook.cs
2024-06-28 18:08:56 +08:00

14 lines
370 B
C#

using BotSharp.Abstraction.Users.Models;
using System.Security.Claims;
namespace BotSharp.Abstraction.Users;
public interface IAuthenticationHook
{
Task<User> Authenticate(string id, string password);
void AddClaims(List<Claim> claims);
void BeforeSending(Token token);
Task UserCreated(User user);
Task VerificationCodeResetPassword(User user);
}