ClaimActionCollectionMapExtensions.MapJsonSubKey メソッド

定義

オーバーロード

MapJsonSubKey(ClaimActionCollection, String, String, String)

指定された最上位レベルのキー名と第 2 レベルのサブキー名を持つ json ユーザー データから 2 番目のレベルの値を選択し、Claim として追加します。 この操作は、キーが見つからないか、値が空の場合に発生します。

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

指定された最上位レベルのキー名と第 2 レベルのサブキー名を持つ json ユーザー データから 2 番目のレベルの値を選択し、Claim として追加します。 この操作は、キーが見つからないか、値が空の場合に発生します。

MapJsonSubKey(ClaimActionCollection, String, String, String)

指定された最上位レベルのキー名と第 2 レベルのサブキー名を持つ json ユーザー データから 2 番目のレベルの値を選択し、Claim として追加します。 この操作は、キーが見つからないか、値が空の場合に発生します。

public:
[System::Runtime::CompilerServices::Extension]
 static void MapJsonSubKey(Microsoft::AspNetCore::Authentication::OAuth::Claims::ClaimActionCollection ^ collection, System::String ^ claimType, System::String ^ jsonKey, System::String ^ subKey);
public static void MapJsonSubKey (this Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection collection, string claimType, string jsonKey, string subKey);
static member MapJsonSubKey : Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection * string * string * string -> unit
<Extension()>
Public Sub MapJsonSubKey (collection As ClaimActionCollection, claimType As String, jsonKey As String, subKey As String)

パラメーター

claimType
String

要求の作成時に Claim.Type に使用する値。

jsonKey
String

json ユーザー データで検索する最上位のキー。

subKey
String

json ユーザー データで検索する 2 番目のレベルのキー。

適用対象

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

指定された最上位レベルのキー名と第 2 レベルのサブキー名を持つ json ユーザー データから 2 番目のレベルの値を選択し、Claim として追加します。 この操作は、キーが見つからないか、値が空の場合に発生します。

public:
[System::Runtime::CompilerServices::Extension]
 static void MapJsonSubKey(Microsoft::AspNetCore::Authentication::OAuth::Claims::ClaimActionCollection ^ collection, System::String ^ claimType, System::String ^ jsonKey, System::String ^ subKey, System::String ^ valueType);
public static void MapJsonSubKey (this Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection collection, string claimType, string jsonKey, string subKey, string valueType);
static member MapJsonSubKey : Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection * string * string * string * string -> unit
<Extension()>
Public Sub MapJsonSubKey (collection As ClaimActionCollection, claimType As String, jsonKey As String, subKey As String, valueType As String)

パラメーター

claimType
String

要求の作成時に Claim.Type に使用する値。

jsonKey
String

json ユーザー データで検索する最上位のキー。

subKey
String

json ユーザー データで検索する 2 番目のレベルのキー。

valueType
String

Claim の作成時に Claim.ValueType に使用する値。

適用対象