Compartir a través de


RoleStore<TRole,TContext,TKey,TUserRole,TRoleClaim>.RemoveClaimAsync Método

Definición

Quita el claim especificado de la clase especificada role.

public System.Threading.Tasks.Task RemoveClaimAsync (TRole role, System.Security.Claims.Claim claim, System.Threading.CancellationToken cancellationToken = default);
public virtual System.Threading.Tasks.Task RemoveClaimAsync (TRole role, System.Security.Claims.Claim claim, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveClaimAsync : 'Role * System.Security.Claims.Claim * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RemoveClaimAsync : 'Role * System.Security.Claims.Claim * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RemoveClaimAsync (role As TRole, claim As Claim, Optional cancellationToken As CancellationToken = Nothing) As Task
Public Overridable Function RemoveClaimAsync (role As TRole, claim As Claim, Optional cancellationToken As CancellationToken = Nothing) As Task

Parámetros

role
TRole

Rol del que se va a quitar la notificación.

claim
Claim

Notificación que se va a quitar del rol.

cancellationToken
CancellationToken

El objeto CancellationToken que se usa para propagar notificaciones de que se debe cancelar la operación.

Devoluciones

El objeto Task que representa la operación asincrónica.

Implementaciones

Se aplica a