IRoleClaimStore<TRole> IRoleClaimStore<TRole> IRoleClaimStore<TRole> Interface

Definition

Provides an abstraction for a store of role specific claims.

public interface IRoleClaimStore<TRole> : IDisposable, Microsoft.AspNetCore.Identity.IRoleStore<TRole> where TRole : class
type IRoleClaimStore<'Role (requires 'Role : null)> = interface
    interface IRoleStore<'Role (requires 'Role : null)>
    interface IDisposable
Public Interface IRoleClaimStore(Of TRole)
Implements IDisposable, IRoleStore(Of TRole)

Type Parameters

TRole

The type encapsulating a role.

Derived
Implements

Methods

AddClaimAsync(TRole, Claim, CancellationToken) AddClaimAsync(TRole, Claim, CancellationToken) AddClaimAsync(TRole, Claim, CancellationToken)

Add a new claim to a role as an asynchronous operation.

CreateAsync(TRole, CancellationToken) CreateAsync(TRole, CancellationToken) CreateAsync(TRole, CancellationToken)

Creates a new role in a store as an asynchronous operation.

(Inherited from IRoleStore<TRole>)
DeleteAsync(TRole, CancellationToken) DeleteAsync(TRole, CancellationToken) DeleteAsync(TRole, CancellationToken)

Deletes a role from the store as an asynchronous operation.

(Inherited from IRoleStore<TRole>)
FindByIdAsync(String, CancellationToken) FindByIdAsync(String, CancellationToken) FindByIdAsync(String, CancellationToken)

Finds the role who has the specified ID as an asynchronous operation.

(Inherited from IRoleStore<TRole>)
FindByNameAsync(String, CancellationToken) FindByNameAsync(String, CancellationToken) FindByNameAsync(String, CancellationToken)

Finds the role who has the specified normalized name as an asynchronous operation.

(Inherited from IRoleStore<TRole>)
GetClaimsAsync(TRole, CancellationToken) GetClaimsAsync(TRole, CancellationToken) GetClaimsAsync(TRole, CancellationToken)

Gets a list of Claims to be belonging to the specified role as an asynchronous operation.

GetNormalizedRoleNameAsync(TRole, CancellationToken) GetNormalizedRoleNameAsync(TRole, CancellationToken) GetNormalizedRoleNameAsync(TRole, CancellationToken)

Get a role's normalized name as an asynchronous operation.

(Inherited from IRoleStore<TRole>)
GetRoleIdAsync(TRole, CancellationToken) GetRoleIdAsync(TRole, CancellationToken) GetRoleIdAsync(TRole, CancellationToken)

Gets the ID for a role from the store as an asynchronous operation.

(Inherited from IRoleStore<TRole>)
GetRoleNameAsync(TRole, CancellationToken) GetRoleNameAsync(TRole, CancellationToken) GetRoleNameAsync(TRole, CancellationToken)

Gets the name of a role from the store as an asynchronous operation.

(Inherited from IRoleStore<TRole>)
RemoveClaimAsync(TRole, Claim, CancellationToken) RemoveClaimAsync(TRole, Claim, CancellationToken) RemoveClaimAsync(TRole, Claim, CancellationToken)

Remove a claim from a role as an asynchronous operation.

SetNormalizedRoleNameAsync(TRole, String, CancellationToken) SetNormalizedRoleNameAsync(TRole, String, CancellationToken) SetNormalizedRoleNameAsync(TRole, String, CancellationToken)

Set a role's normalized name as an asynchronous operation.

(Inherited from IRoleStore<TRole>)
SetRoleNameAsync(TRole, String, CancellationToken) SetRoleNameAsync(TRole, String, CancellationToken) SetRoleNameAsync(TRole, String, CancellationToken)

Sets the name of a role in the store as an asynchronous operation.

(Inherited from IRoleStore<TRole>)
UpdateAsync(TRole, CancellationToken) UpdateAsync(TRole, CancellationToken) UpdateAsync(TRole, CancellationToken)

Updates a role in a store as an asynchronous operation.

(Inherited from IRoleStore<TRole>)

Applies to