Show / Hide Table of Contents

Class ExtendedPasswordValidator<TUser>

Inheritance
Object
Microsoft.AspNetCore.Identity.PasswordValidator<TUser>
ExtendedPasswordValidator<TUser>
MultitenantPasswordValidator<TUser>
Inherited Members
PasswordValidator<TUser>.IsDigit(Char)
Microsoft.AspNetCore.Identity.PasswordValidator<TUser>.IsLower(System.Char)
PasswordValidator<TUser>.IsUpper(Char)
Microsoft.AspNetCore.Identity.PasswordValidator<TUser>.IsLetterOrDigit(System.Char)
Microsoft.AspNetCore.Identity.PasswordValidator<TUser>.Describer
Object.Equals(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Object.MemberwiseClone()
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)
Back to top Generated by DocFX