Class ExtendedPasswordValidator<TUser>
Inheritance
Microsoft.AspNetCore.Identity.PasswordValidator<TUser>
ExtendedPasswordValidator<TUser>
Inherited Members
Microsoft.AspNetCore.Identity.PasswordValidator<TUser>.IsLower(System.Char)
Microsoft.AspNetCore.Identity.PasswordValidator<TUser>.IsLetterOrDigit(System.Char)
Microsoft.AspNetCore.Identity.PasswordValidator<TUser>.Describer
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public class ExtendedPasswordValidator<TUser> : PasswordValidator<TUser>, IPasswordValidator<TUser> where TUser : class, IUser
Type Parameters
TUser
|
Constructors
ExtendedPasswordValidator(IOptionsSnapshot<TenantIdentityOptions>, ExtendedIdentityErrorDescriber)
Declaration
public ExtendedPasswordValidator(IOptionsSnapshot<TenantIdentityOptions> tenantIdentityOptionsAccessor, ExtendedIdentityErrorDescriber errors = null)
Parameters
IOptionsSnapshot<TenantIdentityOptions>
tenantIdentityOptionsAccessor
The accessor used to acces the TenantIdentityOptions. |
ExtendedIdentityErrorDescriber
errors
The ExtendedIdentityErrorDescriber used to provider error messages. |
Properties
TenantIdentityOptions
Gets the TenantIdentityOptions
Declaration
protected TenantIdentityOptions TenantIdentityOptions { get; }
Property Value
TenantIdentityOptions
|
Methods
ValidateAsync(UserManager<TUser>, TUser, String)
Declaration
public override Task<IdentityResult> ValidateAsync(UserManager<TUser> manager, TUser user, string password)
Parameters
UserManager<TUser>
manager
|
TUser
user
|
String
password
|
Returns
System.Threading.Tasks.Task<IdentityResult>
|
Overrides
Microsoft.AspNetCore.Identity.PasswordValidator<TUser>.ValidateAsync(Microsoft.AspNetCore.Identity.UserManager<TUser>, TUser, System.String)