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)
27
await Assert.ThrowsAsync<ArgumentNullException>("manager", () => validator.
ValidateAsync
(null, null, "foo"));
44
IdentityResultAssert.IsFailure(await valid.
ValidateAsync
(manager, null, input), error);
58
IdentityResultAssert.IsSuccess(await valid.
ValidateAsync
(manager, null, input));
73
IdentityResultAssert.IsFailure(await valid.
ValidateAsync
(manager, null, input),
90
IdentityResultAssert.IsSuccess(await valid.
ValidateAsync
(manager, null, input));
107
IdentityResultAssert.IsFailure(await valid.
ValidateAsync
(manager, null, input),
128
IdentityResultAssert.IsSuccess(await valid.
ValidateAsync
(manager, null, input));
168
var result = await valid.
ValidateAsync
(manager, null, input);