35 references to Failed
Microsoft.AspNetCore.Identity (5)
IdentityApiEndpointRouteBuilderExtensions.cs (4)
73
return CreateValidationProblem(IdentityResult.
Failed
(userManager.ErrorDescriber.InvalidEmail(email)));
236
return CreateValidationProblem(IdentityResult.
Failed
(userManager.ErrorDescriber.InvalidToken()));
247
result = IdentityResult.
Failed
(userManager.ErrorDescriber.InvalidToken());
359
return CreateValidationProblem(IdentityResult.
Failed
(userManager.ErrorDescriber.InvalidEmail(infoRequest.NewEmail)));
SignInManager.cs (1)
734
return IdentityResult.
Failed
();
Microsoft.AspNetCore.Identity.EntityFrameworkCore (6)
RoleStore.cs (2)
160
return IdentityResult.
Failed
(ErrorDescriber.ConcurrencyFailure());
183
return IdentityResult.
Failed
(ErrorDescriber.ConcurrencyFailure());
UserOnlyStore.cs (2)
180
return IdentityResult.
Failed
(ErrorDescriber.ConcurrencyFailure());
204
return IdentityResult.
Failed
(ErrorDescriber.ConcurrencyFailure());
UserStore.cs (2)
182
return IdentityResult.
Failed
(ErrorDescriber.ConcurrencyFailure());
206
return IdentityResult.
Failed
(ErrorDescriber.ConcurrencyFailure());
Microsoft.AspNetCore.Identity.Specification.Tests (7)
IdentitySpecificationTestBase.cs (3)
145
return Task.FromResult(IdentityResult.
Failed
(ErrorMessage));
150
return Task.FromResult(IdentityResult.
Failed
(ErrorMessage));
155
return Task.FromResult(IdentityResult.
Failed
(ErrorMessage));
UserManagerSpecificationTests.cs (4)
147
return Task.FromResult(IdentityResult.
Failed
(ErrorMessage));
152
return Task.FromResult(IdentityResult.
Failed
(ErrorMessage));
161
return Task.FromResult(IdentityResult.
Failed
());
166
return Task.FromResult(IdentityResult.
Failed
());
Microsoft.AspNetCore.Identity.Test (6)
IdentityResultTest.cs (1)
19
var result = IdentityResult.
Failed
();
SignInManagerTest.cs (3)
1144
manager.Setup(m => m.ResetAccessFailedCountAsync(user)).ReturnsAsync(IdentityResult.
Failed
()).Verifiable();
1195
manager.Setup(m => m.ResetAccessFailedCountAsync(user)).ReturnsAsync(IdentityResult.
Failed
()).Verifiable();
1217
new object[] { IdentityResult.
Failed
(), SignInResult.Failed },
UserManagerTest.cs (2)
1195
badResult = IdentityResult.
Failed
(ErrorMessage);
1199
badResult = IdentityResult.
Failed
();
Microsoft.Extensions.Identity.Core (11)
UserManager.cs (11)
736
return IdentityResult.
Failed
(ErrorDescriber.UserAlreadyHasPassword());
773
return IdentityResult.
Failed
(ErrorDescriber.PasswordMismatch());
886
return IdentityResult.
Failed
(ErrorDescriber.InvalidToken());
957
return IdentityResult.
Failed
(ErrorDescriber.LoginAlreadyAssociated());
1173
return IdentityResult.
Failed
(ErrorDescriber.UserAlreadyInRole(role));
1182
return IdentityResult.
Failed
(ErrorDescriber.UserNotInRole(role));
1361
return IdentityResult.
Failed
(ErrorDescriber.InvalidToken());
1416
return IdentityResult.
Failed
(ErrorDescriber.InvalidToken());
1479
return IdentityResult.
Failed
(ErrorDescriber.InvalidToken());
1802
return IdentityResult.
Failed
(ErrorDescriber.UserLockoutNotEnabled());
2114
return IdentityResult.
Failed
(ErrorDescriber.RecoveryCodeRedemptionFailed());