Share via


ClaimActionCollectionMapExtensions 類別

定義

ClaimActionCollection 的擴充方法。

public ref class ClaimActionCollectionMapExtensions abstract sealed
public static class ClaimActionCollectionMapExtensions
type ClaimActionCollectionMapExtensions = class
Public Module ClaimActionCollectionMapExtensions
繼承
ClaimActionCollectionMapExtensions

方法

DeleteClaim(ClaimActionCollection, String)

使用指定的 ClaimType,從指定的 ClaimsIdentity 中刪除所有宣告。

DeleteClaims(ClaimActionCollection, String[])

使用指定的 claimTypes,從 ClaimsIdentity 中刪除所有宣告。

MapAll(ClaimActionCollection)

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

MapAllExcept(ClaimActionCollection, String[])

清除任何目前的 ClaimsActions,並將 json 使用者資料中的所有值對應為宣告,不包括指定的類型。

MapCustomJson(ClaimActionCollection, String, Func<JObject,String>)

執行指定的解析程式,從 json 使用者資料中選取值,以新增為宣告。 如果傳回的值是空的,則此無作業。

MapCustomJson(ClaimActionCollection, String, Func<JsonElement,String>)

執行指定的解析程式,從 json 使用者資料中選取值,以新增為宣告。 如果傳回的值是空的,則此無作業。

MapCustomJson(ClaimActionCollection, String, String, Func<JObject,String>)

執行指定的解析程式,從 json 使用者資料中選取值,以新增為宣告。 如果傳回的值是空的,則此無作業。

MapCustomJson(ClaimActionCollection, String, String, Func<JsonElement,String>)

執行指定的解析程式,從 json 使用者資料中選取值,以新增為宣告。 如果傳回的值是空的,則此無作業。

MapJsonKey(ClaimActionCollection, String, String)

從具有指定索引鍵名稱的 json 使用者資料中選取最上層值,並將其新增為宣告。 如果找不到索引鍵或值是空的,則不會執行此作業。

MapJsonKey(ClaimActionCollection, String, String, String)

從具有指定索引鍵名稱的 json 使用者資料中選取最上層值,並將其新增為宣告。 如果找不到索引鍵或值是空的,則不會執行此作業。

MapJsonSubKey(ClaimActionCollection, String, String, String)

從具有指定最上層索引鍵名稱和第二層子機碼名稱的 json 使用者資料中選取第二層值,並將其新增為宣告。 如果找不到索引鍵或值是空的,則不會執行此作業。

MapJsonSubKey(ClaimActionCollection, String, String, String, String)

從具有指定最上層索引鍵名稱和第二層子機碼名稱的 json 使用者資料中選取第二層值,並將其新增為宣告。 如果找不到索引鍵或值是空的,則不會執行此作業。

適用於