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>)

Source:
ClaimActionCollectionMapExtensions.cs
Source:
ClaimActionCollectionMapExtensions.cs

지정된 확인자를 실행하여 클레임으로 추가할 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>)

Source:
ClaimActionCollectionMapExtensions.cs
Source:
ClaimActionCollectionMapExtensions.cs

지정된 확인자를 실행하여 클레임으로 추가할 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.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.ValueType에 사용할 값입니다.

resolver
Func<JsonElement,String>

지정된 json 사용자 데이터에서 값을 선택하기 위해 호출되는 Func입니다.

적용 대상