Home
last modified time | relevance | path

Searched refs:AddClaimsAsync (Results 1 – 8 of 8) sorted by relevance

/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/src/Core/
H A DIUserClaimStore.cs34 … Task AddClaimsAsync(TUser user, IEnumerable<Claim> claims, CancellationToken cancellationToken); in AddClaimsAsync() method
H A DUserManager.cs1056 return AddClaimsAsync(user, new Claim[] { claim }); in AddClaimAsync()
1068 … public virtual async Task<IdentityResult> AddClaimsAsync(TUser user, IEnumerable<Claim> claims) in AddClaimsAsync() method in Microsoft.AspNetCore.Identity.UserManager
1081 await claimStore.AddClaimsAsync(user, claims, CancellationToken); in AddClaimsAsync()
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/test/EF.Test/
H A DUserStoreTest.cs89 …it Assert.ThrowsAsync<ObjectDisposedException>(async () => await store.AddClaimsAsync(null, null)); in SqlUserStoreMethodsThrowWhenDisposedTest()
128 …ert.ThrowsAsync<ArgumentNullException>("user", async () => await store.AddClaimsAsync(null, null)); in UserStorePublicNullCheckTest()
151 async () => await store.AddClaimsAsync(new IdentityUser("fake"), null)); in UserStorePublicNullCheckTest()
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/test/Identity.Test/
H A DUserManagerTest.cs402 store.Setup(s => s.AddClaimsAsync(user, claims, CancellationToken.None)) in AddClaimsCallsStore()
409 var result = await userManager.AddClaimsAsync(user, claims); in AddClaimsCallsStore()
423 … store.Setup(s => s.AddClaimsAsync(user, It.IsAny<IEnumerable<Claim>>(), CancellationToken.None)) in AddClaimCallsStore()
921 …ThrowsAsync<ArgumentNullException>("claims", async () => await manager.AddClaimsAsync(null, null)); in ManagerPublicNullChecks()
1041 … await Assert.ThrowsAsync<ObjectDisposedException>(() => manager.AddClaimsAsync(null, null)); in MethodsThrowWhenDisposedTest()
1100 …public Task AddClaimsAsync(PocoUser user, IEnumerable<Claim> claim, CancellationToken cancellation… in AddClaimsAsync() method in Microsoft.AspNetCore.Identity.Test.UserManagerTest.EmptyStore
1380 …public Task AddClaimsAsync(PocoUser user, IEnumerable<Claim> claims, CancellationToken cancellatio… in AddClaimsAsync() method in Microsoft.AspNetCore.Identity.Test.UserManagerTest.NotImplementedStore
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/src/EF/
H A DUserOnlyStore.cs324 …public override Task AddClaimsAsync(TUser user, IEnumerable<Claim> claims, CancellationToken cance… in AddClaimsAsync() method in Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserOnlyStore
H A DUserStore.cs457 …public override Task AddClaimsAsync(TUser user, IEnumerable<Claim> claims, CancellationToken cance… in AddClaimsAsync() method in Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/test/InMemory.Test/
H A DInMemoryUserStore.cs44 …public Task AddClaimsAsync(TUser user, IEnumerable<Claim> claims, CancellationToken cancellationTo… in AddClaimsAsync() 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.cs390 …public abstract Task AddClaimsAsync(TUser user, IEnumerable<Claim> claims, CancellationToken cance… in AddClaimsAsync() method in Microsoft.AspNetCore.Identity.UserStoreBase