IRoleClaimStore<TRole> Interface

Définition

Fournit une abstraction pour un magasin de revendications spécifiques à un rôle.

generic <typename TRole>
 where TRole : classpublic interface class IRoleClaimStore : IDisposable, Microsoft::AspNetCore::Identity::IRoleStore<TRole>
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)

Paramètres de type

TRole

Type encapsulant un rôle.

Dérivé
Implémente

Méthodes

AddClaimAsync(TRole, Claim, CancellationToken)

Ajoutez une nouvelle revendication à un rôle en tant qu’opération asynchrone.

CreateAsync(TRole, CancellationToken)

Crée un rôle dans un magasin en tant qu’opération asynchrone.

(Hérité de IRoleStore<TRole>)
DeleteAsync(TRole, CancellationToken)

Supprime un rôle du magasin en tant qu’opération asynchrone.

(Hérité de IRoleStore<TRole>)
FindByIdAsync(String, CancellationToken)

Recherche le rôle qui a l’ID spécifié en tant qu’opération asynchrone.

(Hérité de IRoleStore<TRole>)
FindByNameAsync(String, CancellationToken)

Recherche le rôle qui a le nom normalisé spécifié en tant qu’opération asynchrone.

(Hérité de IRoleStore<TRole>)
GetClaimsAsync(TRole, CancellationToken)

Obtient une liste de Claims à appartenir au spécifié role en tant qu’opération asynchrone.

GetNormalizedRoleNameAsync(TRole, CancellationToken)

Obtenir le nom normalisé d’un rôle en tant qu’opération asynchrone.

(Hérité de IRoleStore<TRole>)
GetRoleIdAsync(TRole, CancellationToken)

Obtient l’ID d’un rôle à partir du magasin en tant qu’opération asynchrone.

(Hérité de IRoleStore<TRole>)
GetRoleNameAsync(TRole, CancellationToken)

Obtient le nom d’un rôle à partir du magasin en tant qu’opération asynchrone.

(Hérité de IRoleStore<TRole>)
RemoveClaimAsync(TRole, Claim, CancellationToken)

Supprimez une revendication d’un rôle en tant qu’opération asynchrone.

SetNormalizedRoleNameAsync(TRole, String, CancellationToken)

Définissez le nom normalisé d’un rôle en tant qu’opération asynchrone.

(Hérité de IRoleStore<TRole>)
SetRoleNameAsync(TRole, String, CancellationToken)

Définit le nom d’un rôle dans le magasin en tant qu’opération asynchrone.

(Hérité de IRoleStore<TRole>)
UpdateAsync(TRole, CancellationToken)

Mises à jour un rôle dans un magasin en tant qu’opération asynchrone.

(Hérité de IRoleStore<TRole>)

S’applique à