35 references to Errors
Identity.ExternalClaims (5)
Pages\Account\ExternalLogin.cshtml.cs (1)
138
foreach (var error in result.
Errors
)
Pages\Account\Manage\ChangePassword.cshtml.cs (1)
91
foreach (var error in changePasswordResult.
Errors
)
Pages\Account\Manage\SetPassword.cshtml.cs (1)
83
foreach (var error in addPasswordResult.
Errors
)
Pages\Account\Register.cshtml.cs (1)
84
foreach (var error in result.
Errors
)
Pages\Account\ResetPassword.cshtml.cs (1)
83
foreach (var error in result.
Errors
)
IdentitySample.DefaultUI (1)
Areas\Identity\Pages\Account\Register.cshtml.cs (1)
114
foreach (var error in result.
Errors
)
IdentitySample.Mvc (2)
Controllers\AccountController.cs (1)
539
foreach (var error in result.
Errors
)
Controllers\ManageController.cs (1)
353
foreach (var error in result.
Errors
)
Microsoft.AspNetCore.Identity (2)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
436
foreach (var error in result.
Errors
)
SignInManager.cs (1)
995
foreach (var error in IdentityResult.
Errors
)
Microsoft.AspNetCore.Identity.Specification.Tests (6)
IdentityResultAssert.cs (3)
41
Assert.Equal(error, result.
Errors
.First().Description);
53
Assert.Equal(error.Description, result.
Errors
.FirstOrDefault()?.Description);
54
Assert.Equal(error.Code, result.
Errors
.FirstOrDefault()?.Code);
IdentitySpecificationTestBase.cs (1)
190
Assert.Equal(2, result.
Errors
.Count());
UserManagerSpecificationTests.cs (2)
395
Assert.Equal(2, result.
Errors
.Count());
460
Assert.Single(result.
Errors
);
Microsoft.AspNetCore.Identity.Test (3)
IdentityResultTest.cs (2)
13
Assert.Empty(result.
Errors
);
21
Assert.Empty(result.
Errors
);
PasswordValidatorTest.cs (1)
178
Assert.Contains(result.
Errors
, e => e.Description == error);
Microsoft.AspNetCore.Identity.UI (10)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (1)
220
foreach (var error in result.
Errors
)
Areas\Identity\Pages\V4\Account\Manage\ChangePassword.cshtml.cs (1)
129
foreach (var error in changePasswordResult.
Errors
)
Areas\Identity\Pages\V4\Account\Manage\SetPassword.cshtml.cs (1)
117
foreach (var error in addPasswordResult.
Errors
)
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (1)
160
foreach (var error in result.
Errors
)
Areas\Identity\Pages\V4\Account\ResetPassword.cshtml.cs (1)
126
foreach (var error in result.
Errors
)
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (1)
220
foreach (var error in result.
Errors
)
Areas\Identity\Pages\V5\Account\Manage\ChangePassword.cshtml.cs (1)
129
foreach (var error in changePasswordResult.
Errors
)
Areas\Identity\Pages\V5\Account\Manage\SetPassword.cshtml.cs (1)
117
foreach (var error in addPasswordResult.
Errors
)
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (1)
160
foreach (var error in result.
Errors
)
Areas\Identity\Pages\V5\Account\ResetPassword.cshtml.cs (1)
126
foreach (var error in result.
Errors
)
Microsoft.Extensions.Identity.Core (6)
IdentityResult.cs (2)
68
/// "Failed : " followed by a comma delimited list of error codes from its <see cref="
Errors
"/> collection, if any.
74
string.Format(CultureInfo.InvariantCulture, "{0} : {1}", "Failed", string.Join(",",
Errors
.Select(x => x.Code).ToList()));
RoleManager.cs (1)
406
errors.AddRange(result.
Errors
);
UserManager.cs (3)
2316
errors.AddRange(result.
Errors
);
2346
if (result.
Errors
.Any())
2349
errors.AddRange(result.
Errors
);