BotSharp/src/Infrastructure/BotSharp.Abstraction/Users/IAuthenticationHook.cs
2024-05-21 05:51:38 -05:00

13 lines
319 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);
}