Implemented interface member:
method
ValidateAsync
Microsoft.AspNetCore.Identity.IPasswordValidator<TUser>.ValidateAsync(Microsoft.AspNetCore.Identity.UserManager<TUser>, TUser, System.String)
9 references to ValidateAsync
Microsoft.AspNetCore.Identity.Test (9)
PasswordValidatorTest.cs (9)
27await Assert.ThrowsAsync<ArgumentNullException>("password", () => validator.ValidateAsync(null, null, null)); 28await 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);