ClaimActionCollectionMapExtensions.MapJsonSubKey 메서드

정의

오버로드

MapJsonSubKey(ClaimActionCollection, String, String, String)

지정된 최상위 키 이름과 두 번째 수준 하위 키 이름을 가진 json 사용자 데이터에서 두 번째 수준 값을 선택하고 클레임으로 추가합니다. 키를 찾을 수 없거나 값이 비어 있는 경우 이 작업을 수행하지 않습니다.

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

지정된 최상위 키 이름과 두 번째 수준 하위 키 이름을 가진 json 사용자 데이터에서 두 번째 수준 값을 선택하고 클레임으로 추가합니다. 키를 찾을 수 없거나 값이 비어 있는 경우 이 작업을 수행하지 않습니다.

MapJsonSubKey(ClaimActionCollection, String, String, String)

Source:
ClaimActionCollectionMapExtensions.cs
Source:
ClaimActionCollectionMapExtensions.cs

지정된 최상위 키 이름과 두 번째 수준 하위 키 이름을 가진 json 사용자 데이터에서 두 번째 수준 값을 선택하고 클레임으로 추가합니다. 키를 찾을 수 없거나 값이 비어 있는 경우 이 작업을 수행하지 않습니다.

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 사용자 데이터에서 찾을 두 번째 수준 키입니다.

적용 대상

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

Source:
ClaimActionCollectionMapExtensions.cs
Source:
ClaimActionCollectionMapExtensions.cs

지정된 최상위 키 이름과 두 번째 수준 하위 키 이름을 가진 json 사용자 데이터에서 두 번째 수준 값을 선택하고 클레임으로 추가합니다. 키를 찾을 수 없거나 값이 비어 있는 경우 이 작업을 수행하지 않습니다.

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 사용자 데이터에서 찾을 두 번째 수준 키입니다.

valueType
String

클레임을 만들 때 Claim.ValueType에 사용할 값입니다.

적용 대상