Home
last modified time | relevance | path

Searched refs:RemoveFromRoleAsync (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 DIUserRoleStore.cs32 Task RemoveFromRoleAsync(TUser user, string roleName, CancellationToken cancellationToken); in RemoveFromRoleAsync() method
H A DUserManager.cs1254 public virtual async Task<IdentityResult> RemoveFromRoleAsync(TUser user, string role) in RemoveFromRoleAsync() method in Microsoft.AspNetCore.Identity.UserManager
1268 await userRoleStore.RemoveFromRoleAsync(user, normalizedRole, CancellationToken); in RemoveFromRoleAsync()
1313 await userRoleStore.RemoveFromRoleAsync(user, normalizedRole, CancellationToken); in RemoveFromRolesAsync()
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/test/EF.Test/
H A DUserStoreTest.cs99 async () => await store.RemoveFromRoleAsync(null, null)); in SqlUserStoreMethodsThrowWhenDisposedTest()
140 async () => await store.RemoveFromRoleAsync(null, null)); in UserStorePublicNullCheckTest()
176 …c<ArgumentException>("normalizedRoleName", async () => await store.RemoveFromRoleAsync(new Identit… in UserStorePublicNullCheckTest()
179 …c<ArgumentException>("normalizedRoleName", async () => await store.RemoveFromRoleAsync(new Identit… in UserStorePublicNullCheckTest()
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/test/Identity.Test/
H A DUserManagerTest.cs340 store.Setup(s => s.RemoveFromRoleAsync(user, "A", CancellationToken.None)) in RemoveFromRolesCallsStore()
343 store.Setup(s => s.RemoveFromRoleAsync(user, "B", CancellationToken.None)) in RemoveFromRolesCallsStore()
346 store.Setup(s => s.RemoveFromRoleAsync(user, "C", CancellationToken.None)) in RemoveFromRolesCallsStore()
376 store.Setup(s => s.RemoveFromRoleAsync(user, "A", CancellationToken.None)) in RemoveFromRolesFailsIfNotInRole()
829 …ssert.ThrowsAsync<NotSupportedException>(async () => await manager.RemoveFromRoleAsync(null, "bogu… in RoleMethodsFailWhenStoreNotImplemented()
970 async () => await manager.RemoveFromRoleAsync(null, null)); in MethodsFailWithUnknownUserTest()
1055 … await Assert.ThrowsAsync<ObjectDisposedException>(() => manager.RemoveFromRoleAsync(null, null)); in MethodsThrowWhenDisposedTest()
1269 …public Task RemoveFromRoleAsync(PocoUser user, string roleName, CancellationToken cancellationToke… in RemoveFromRoleAsync() method in Microsoft.AspNetCore.Identity.Test.UserManagerTest.EmptyStore
1555 …public Task RemoveFromRoleAsync(PocoUser user, string roleName, CancellationToken cancellationToke… in RemoveFromRoleAsync() method in Microsoft.AspNetCore.Identity.Test.UserManagerTest.NotImplementedStore
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/src/Specification.Tests/
H A DIdentitySpecificationTestBase.cs496 …IdentityResultAssert.IsSuccess(await userManager.RemoveFromRoleAsync(user, await roleManager.GetRo… in RemoveUserFromRoleWithMultipleRoles()
529 IdentityResultAssert.IsSuccess(await userManager.RemoveFromRoleAsync(u, roleName)); in CanRemoveUsersFromRole()
553 var result = await userMgr.RemoveFromRoleAsync(user, roleName); in RemoveUserNotInRoleFails()
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/test/InMemory.Test/
H A DInMemoryStore.cs34 …public Task RemoveFromRoleAsync(TUser user, string role, CancellationToken cancellationToken = def… in RemoveFromRoleAsync() method in Microsoft.AspNetCore.Identity.InMemory.InMemoryStore
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/src/EF/
H A DUserStore.cs359 …public async override Task RemoveFromRoleAsync(TUser user, string normalizedRoleName, Cancellation… in RemoveFromRoleAsync() method in Microsoft.AspNetCore.Identity.EntityFrameworkCore.UserStore
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/src/Stores/
H A DUserStoreBase.cs1147 …public abstract Task RemoveFromRoleAsync(TUser user, string normalizedRoleName, CancellationToken … in RemoveFromRoleAsync() method in Microsoft.AspNetCore.Identity.UserStoreBase