共用方式為


ClaimActionCollectionMapExtensions.MapAll(ClaimActionCollection) 方法

定義

清除任何目前的 ClaimsActions,並將 json 使用者資料中的所有值對應為宣告,不包括重複專案。

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

參數

適用於