ClaimActionCollectionMapExtensions.MapAllExcept 方法

定义

清除任何当前 ClaimsActions 并将 json 用户数据中的所有值映射为声明,不包括指定的类型。

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())

参数

exclusions
String[]

要排除的类型。

适用于