Share via


ClaimActionCollectionMapExtensions.MapJsonKey 메서드

정의

오버로드

MapJsonKey(ClaimActionCollection, String, String)

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

MapJsonKey(ClaimActionCollection, String, String, String)

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

MapJsonKey(ClaimActionCollection, String, String)

Source:
ClaimActionCollectionMapExtensions.cs
Source:
ClaimActionCollectionMapExtensions.cs

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

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)

Source:
ClaimActionCollectionMapExtensions.cs
Source:
ClaimActionCollectionMapExtensions.cs

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

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.ValueType에 사용할 값입니다.

적용 대상