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)
27
await Assert.ThrowsAsync<ArgumentNullException>("password", () => validator.
ValidateAsync
(null, null, null));
28
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);