DotBased/DotBased.AspNet.Authority/Validators/IPasswordValidator.cs
2024-12-25 22:50:04 +01:00

9 lines
304 B
C#

using DotBased.AspNet.Authority.Models.Validation;
using DotBased.AspNet.Authority.Services;
namespace DotBased.AspNet.Authority.Validators;
public interface IPasswordValidator<TUser>
{
public Task<ValidationResult> ValidatePasswordAsync(AuthorityUserManager<TUser> userManager, string password);
}