Home
last modified time | relevance | path

Searched refs:GetEmailAsync (Results 1 – 14 of 14) sorted by relevance

/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/src/Core/
H A DEmailTokenProvider.cs20 var email = await manager.GetEmailAsync(user); in CanGenerateTwoFactorTokenAsync()
34 var email = await manager.GetEmailAsync(user); in GetUserModifierAsync()
H A DIUserEmailStore.cs30 Task<string> GetEmailAsync(TUser user, CancellationToken cancellationToken); in GetEmailAsync() method
H A DUserValidator.cs84 var email = await manager.GetEmailAsync(user); in ValidateEmail()
H A DUserManager.cs1359 public virtual async Task<string> GetEmailAsync(TUser user) in GetEmailAsync() method in Microsoft.AspNetCore.Identity.UserManager
1367 return await store.GetEmailAsync(user, CancellationToken); in GetEmailAsync()
1444 var email = await GetEmailAsync(user); in UpdateNormalizedEmailAsync()
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/src/UI/Areas/Identity/Pages/V4/Account/Manage/
H A DIndex.cshtml.cs113 var email = await _userManager.GetEmailAsync(user); in OnGetAsync()
142 var email = await _userManager.GetEmailAsync(user); in OnPostAsync()
193 var email = await _userManager.GetEmailAsync(user); in OnPostSendVerificationEmailAsync()
H A DEnableAuthenticator.cshtml.cs174 var email = await _userManager.GetEmailAsync(user); in LoadSharedKeyAndQrCodeUriAsync()
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/src/UI/Areas/Identity/Pages/V3/Account/Manage/
H A DIndex.cshtml.cs113 var email = await _userManager.GetEmailAsync(user); in OnGetAsync()
142 var email = await _userManager.GetEmailAsync(user); in OnPostAsync()
193 var email = await _userManager.GetEmailAsync(user); in OnPostSendVerificationEmailAsync()
H A DEnableAuthenticator.cshtml.cs174 var email = await _userManager.GetEmailAsync(user); in LoadSharedKeyAndQrCodeUriAsync()
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/test/Identity.Test/
H A DUserManagerTest.cs95 …store.Setup(s => s.GetEmailAsync(user, CancellationToken.None)).Returns(Task.FromResult(user.Email… in CreateCallsUpdateEmailStore()
151 …store.Setup(s => s.GetEmailAsync(user, CancellationToken.None)).Returns(Task.FromResult(user.Email… in UpdateWillUpdateNormalizedEmail()
590 await Assert.ThrowsAsync<NotSupportedException>(() => manager.GetEmailAsync(null)); in UsersEmailMethodsFailWhenStoreNotImplemented()
992 async () => await manager.GetEmailAsync(null)); in MethodsFailWithUnknownUserTest()
1120 …public Task<string> GetEmailAsync(PocoUser user, CancellationToken cancellationToken = default(Can… in GetEmailAsync() method in Microsoft.AspNetCore.Identity.Test.UserManagerTest.EmptyStore
1400 …public Task<string> GetEmailAsync(PocoUser user, CancellationToken cancellationToken = default(Can… in GetEmailAsync() method in Microsoft.AspNetCore.Identity.Test.UserManagerTest.NotImplementedStore
1645 store.Setup(s => s.GetEmailAsync(user, CancellationToken.None)) in CanCustomizeUserValidatorErrors()
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/src/Specification.Tests/
H A DUserManagerSpecificationTests.cs933 …ntityResultAssert.IsSuccess(await manager.SetEmailAsync(user2, await manager.GetEmailAsync(user))); in AddDupeEmailAllowedByDefault()
1709 Assert.Equal(await manager.GetEmailAsync(user), newEmail); in CanChangeEmail()
1738 Assert.Equal(await manager.GetEmailAsync(user), newEmail); in CanChangeEmailWithDifferentTokenProvider()
1766 Assert.Equal("another@email.com", await manager.GetEmailAsync(user)); in ChangeEmailTokensFailsAfterEmailChanged()
1792 Assert.Equal(await manager.GetEmailAsync(user), oldEmail); in ChangeEmailFailsWithWrongToken()
1820 Assert.Equal(await manager.GetEmailAsync(user), oldEmail); in ChangeEmailFailsWithEmail()
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/samples/IdentitySample.Mvc/Controllers/
H A DAccountController.cs392 …await _emailSender.SendEmailAsync(await _userManager.GetEmailAsync(user), "Security Code", message… in SendCode()
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/test/InMemory.Test/
H A DInMemoryUserStore.cs85 …public Task<string> GetEmailAsync(TUser user, CancellationToken cancellationToken = default(Cancel… in GetEmailAsync() method in Microsoft.AspNetCore.Identity.InMemory.InMemoryUserStore
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/src/Stores/
H A DUserStoreBase.cs527 …public virtual Task<string> GetEmailAsync(TUser user, CancellationToken cancellationToken = defaul… in GetEmailAsync() method in Microsoft.AspNetCore.Identity.UserStoreBase
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/test/EF.Test/
H A DUserStoreTest.cs157 …ait Assert.ThrowsAsync<ArgumentNullException>("user", async () => await store.GetEmailAsync(null)); in UserStorePublicNullCheckTest()