ClaimActionCollectionMapExtensions.MapCustomJson メソッド

定義

オーバーロード

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 ユーザー データから値を選択します。 返された値が空の場合、この操作は行われません。

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

指定したリゾルバーを実行して、要求として追加する json ユーザー データから値を選択します。 返された値が空の場合、この操作は行われません。

public:
[System::Runtime::CompilerServices::Extension]
 static void MapCustomJson(Microsoft::AspNetCore::Authentication::OAuth::Claims::ClaimActionCollection ^ collection, System::String ^ claimType, Func<Newtonsoft::Json::Linq::JObject ^, System::String ^> ^ resolver);
public static void MapCustomJson (this Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection collection, string claimType, Func<Newtonsoft.Json.Linq.JObject,string> resolver);
static member MapCustomJson : Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection * string * Func<Newtonsoft.Json.Linq.JObject, string> -> unit
<Extension()>
Public Sub MapCustomJson (collection As ClaimActionCollection, claimType As String, resolver As Func(Of JObject, String))

パラメーター

claimType
String

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

resolver
Func<Newtonsoft.Json.Linq.JObject,String>

指定された json ユーザー データから値を選択するために呼び出される Func。

適用対象

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

指定したリゾルバーを実行して、要求として追加する json ユーザー データから値を選択します。 返された値が空の場合、この操作は行われません。

public:
[System::Runtime::CompilerServices::Extension]
 static void MapCustomJson(Microsoft::AspNetCore::Authentication::OAuth::Claims::ClaimActionCollection ^ collection, System::String ^ claimType, Func<System::Text::Json::JsonElement, System::String ^> ^ resolver);
public static void MapCustomJson (this Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection collection, string claimType, Func<System.Text.Json.JsonElement,string> resolver);
public static void MapCustomJson (this Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection collection, string claimType, Func<System.Text.Json.JsonElement,string?> resolver);
static member MapCustomJson : Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection * string * Func<System.Text.Json.JsonElement, string> -> unit
<Extension()>
Public Sub MapCustomJson (collection As ClaimActionCollection, claimType As String, resolver As Func(Of JsonElement, String))

パラメーター

claimType
String

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

resolver
Func<JsonElement,String>

指定された json ユーザー データから値を選択するために呼び出される Func。

適用対象

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

指定したリゾルバーを実行して、要求として追加する json ユーザー データから値を選択します。 返された値が空の場合、この操作は行われません。

public:
[System::Runtime::CompilerServices::Extension]
 static void MapCustomJson(Microsoft::AspNetCore::Authentication::OAuth::Claims::ClaimActionCollection ^ collection, System::String ^ claimType, System::String ^ valueType, Func<Newtonsoft::Json::Linq::JObject ^, System::String ^> ^ resolver);
public static void MapCustomJson (this Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection collection, string claimType, string valueType, Func<Newtonsoft.Json.Linq.JObject,string> resolver);
static member MapCustomJson : Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection * string * string * Func<Newtonsoft.Json.Linq.JObject, string> -> unit
<Extension()>
Public Sub MapCustomJson (collection As ClaimActionCollection, claimType As String, valueType As String, resolver As Func(Of JObject, String))

パラメーター

claimType
String

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

valueType
String

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

resolver
Func<Newtonsoft.Json.Linq.JObject,String>

指定された json ユーザー データから値を選択するために呼び出される Func。

適用対象

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

指定したリゾルバーを実行して、要求として追加する json ユーザー データから値を選択します。 返された値が空の場合、この操作は行われません。

public:
[System::Runtime::CompilerServices::Extension]
 static void MapCustomJson(Microsoft::AspNetCore::Authentication::OAuth::Claims::ClaimActionCollection ^ collection, System::String ^ claimType, System::String ^ valueType, Func<System::Text::Json::JsonElement, System::String ^> ^ resolver);
public static void MapCustomJson (this Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection collection, string claimType, string valueType, Func<System.Text.Json.JsonElement,string> resolver);
public static void MapCustomJson (this Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection collection, string claimType, string valueType, Func<System.Text.Json.JsonElement,string?> resolver);
static member MapCustomJson : Microsoft.AspNetCore.Authentication.OAuth.Claims.ClaimActionCollection * string * string * Func<System.Text.Json.JsonElement, string> -> unit
<Extension()>
Public Sub MapCustomJson (collection As ClaimActionCollection, claimType As String, valueType As String, resolver As Func(Of JsonElement, String))

パラメーター

claimType
String

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

valueType
String

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

resolver
Func<JsonElement,String>

指定された json ユーザー データから値を選択するために呼び出される Func。

適用対象