ClaimActionCollectionMapExtensions.MapAllExcept Method

Definition

Clears any current ClaimsActions and maps all values from the json user data as claims, excluding the specified types.

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

Parameters

exclusions
String[]

The types to exclude.

Applies to