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