Partager via


ClaimActionCollectionMapExtensions.DeleteClaim Méthode

Définition

Supprimez toutes les revendications de l’attribut ClaimsIdentity donné avec le Type de revendication donné.

public:
[System::Runtime::CompilerServices::Extension]
 static void DeleteClaim(Microsoft::AspNetCore::Authentication::OAuth::Claims::ClaimActionCollection ^ collection, System::String ^ claimType);
public static void DeleteClaim (this Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection collection, string claimType);
static member DeleteClaim : Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection * string -> unit
<Extension()>
Public Sub DeleteClaim (collection As ClaimActionCollection, claimType As String)

Paramètres

collection
ClaimActionCollection

L’ClaimActionCollectionopérateur

claimType
String

Type de revendication à supprimer

S’applique à