ClaimActionCollectionMapExtensions.MapJsonKey メソッド

定義

オーバーロード

MapJsonKey(ClaimActionCollection, String, String)

指定したキー名を持つ json ユーザー データから最上位レベルの値を選択し、Claim として追加します。 キーが見つからないか、値が空の場合、この操作は行われません。

MapJsonKey(ClaimActionCollection, String, String, String)

指定したキー名を持つ json ユーザー データから最上位レベルの値を選択し、Claim として追加します。 キーが見つからないか、値が空の場合、この操作は行われません。

MapJsonKey(ClaimActionCollection, String, String)

指定したキー名を持つ json ユーザー データから最上位レベルの値を選択し、Claim として追加します。 キーが見つからないか、値が空の場合、この操作は行われません。

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

パラメーター

claimType
String

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

jsonKey
String

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

適用対象

MapJsonKey(ClaimActionCollection, String, String, String)

指定したキー名を持つ json ユーザー データから最上位レベルの値を選択し、Claim として追加します。 キーが見つからないか、値が空の場合、この操作は行われません。

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

パラメーター

claimType
String

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

jsonKey
String

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

valueType
String

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

適用対象