13 references to ConfirmEmailAsync
Identity.ExternalClaims (1)
Pages\Account\ConfirmEmail.cshtml.cs (1)
37var result = await _userManager.ConfirmEmailAsync(user, code);
IdentitySample.Mvc (1)
Controllers\AccountController.cs (1)
248var result = await _userManager.ConfirmEmailAsync(user, code);
Microsoft.AspNetCore.Identity (1)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
165result = await userManager.ConfirmEmailAsync(user, code);
Microsoft.AspNetCore.Identity.Specification.Tests (5)
UserManagerSpecificationTests.cs (5)
1099IdentityResultAssert.IsSuccess(await manager.ConfirmEmailAsync(user, token)); 1118IdentityResultAssert.IsFailure(await manager.ConfirmEmailAsync(user, "bogus"), "Invalid token."); 1137IdentityResultAssert.IsFailure(await manager.ConfirmEmailAsync(user, token), "Invalid token."); 1645IdentityResultAssert.IsSuccess(await manager.ConfirmEmailAsync(user, token)); 1822IdentityResultAssert.IsSuccess(await manager.ConfirmEmailAsync(user, token));
Microsoft.AspNetCore.Identity.Test (3)
UserManagerTest.cs (3)
695await Assert.ThrowsAsync<NotSupportedException>(() => manager.ConfirmEmailAsync(null, null)); 1101async () => await manager.ConfirmEmailAsync(null, null)); 1182await Assert.ThrowsAsync<ObjectDisposedException>(() => manager.ConfirmEmailAsync(null, null));
Microsoft.AspNetCore.Identity.UI (2)
Areas\Identity\Pages\V4\Account\ConfirmEmail.cshtml.cs (1)
57var result = await _userManager.ConfirmEmailAsync(user, code);
Areas\Identity\Pages\V5\Account\ConfirmEmail.cshtml.cs (1)
57var result = await _userManager.ConfirmEmailAsync(user, code);