BotSharp/src/Infrastructure/BotSharp.Abstraction/Users/IAuthenticationHook.cs
2024-02-05 10:00:28 -06:00

12 lines
286 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);
}