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