1 override of CancellationToken
Microsoft.AspNetCore.Identity (1)
AspNetRoleManager.cs (1)
40protected override CancellationToken CancellationToken => _cancel;
12 references to CancellationToken
Microsoft.Extensions.Identity.Core (12)
RoleManager.cs (12)
165result = await Store.CreateAsync(role, CancellationToken).ConfigureAwait(false); 179await Store.SetNormalizedRoleNameAsync(role, NormalizeKey(name), CancellationToken).ConfigureAwait(false); 209return Store.DeleteAsync(role, CancellationToken); 249return Store.FindByIdAsync(roleId, CancellationToken); 263return Store.GetRoleNameAsync(role, CancellationToken); 279await Store.SetRoleNameAsync(role, name, CancellationToken).ConfigureAwait(false); 295return Store.GetRoleIdAsync(role, CancellationToken); 311return Store.FindByNameAsync(NormalizeKey(roleName), CancellationToken); 330await claimStore.AddClaimAsync(role, claim, CancellationToken).ConfigureAwait(false); 349await claimStore.RemoveClaimAsync(role, claim, CancellationToken).ConfigureAwait(false); 366return claimStore.GetClaimsAsync(role, CancellationToken); 433return await Store.UpdateAsync(role, CancellationToken).ConfigureAwait(false);