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[]

要排除的類型。

適用於