Implemented interface member:
method
ValidateAsync
Microsoft.AspNetCore.Identity.IPasswordValidator<TUser>.ValidateAsync(Microsoft.AspNetCore.Identity.UserManager<TUser>, TUser, System.String)
8 references to ValidateAsync
Microsoft.AspNetCore.Identity.Test (8)
PasswordValidatorTest.cs (8)
27await Assert.ThrowsAsync<ArgumentNullException>("manager", () => validator.ValidateAsync(null, null, "foo")); 44IdentityResultAssert.IsFailure(await valid.ValidateAsync(manager, null, input), error); 58IdentityResultAssert.IsSuccess(await valid.ValidateAsync(manager, null, input)); 73IdentityResultAssert.IsFailure(await valid.ValidateAsync(manager, null, input), 90IdentityResultAssert.IsSuccess(await valid.ValidateAsync(manager, null, input)); 107IdentityResultAssert.IsFailure(await valid.ValidateAsync(manager, null, input), 128IdentityResultAssert.IsSuccess(await valid.ValidateAsync(manager, null, input)); 168var result = await valid.ValidateAsync(manager, null, input);