DotBased/DotBased.AspNet.Authority/Validators/IPasswordValidator.cs

9 lines
336 B
C#
Raw Normal View History

using DotBased.AspNet.Authority.Managers;
2024-12-25 22:50:04 +01:00
using DotBased.AspNet.Authority.Models.Validation;
namespace DotBased.AspNet.Authority.Validators;
2024-12-26 20:01:57 +01:00
public interface IPasswordValidator<TUser> where TUser : class
{
2024-12-26 20:01:57 +01:00
public Task<ValidationResult> ValidatePasswordAsync(AuthorityUserManager<TUser> userManager, TUser user, string password);
}