Sdílet prostřednictvím


ClaimActionCollectionMapExtensions.DeleteClaim Metoda

Definice

Odstraňte všechny deklarace identity z dané identity ClaimsIdentity s danou hodnotou ClaimType.

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)

Parametry

claimType
String

Typ deklarace identity, který se má odstranit

Platí pro