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

9 lines
304 B
C#
Raw Normal View History

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