다음을 통해 공유


JwtTokenExtractor.GetIdentityAsync 메서드

정의

오버로드

GetIdentityAsync(String, String)

요청과 연결된 클레임 ID를 가져옵니다.

GetIdentityAsync(String, String, String)

요청과 연결된 클레임 ID를 가져옵니다.

GetIdentityAsync(String, String, String[])

요청과 연결된 클레임 ID를 가져옵니다.

GetIdentityAsync(String, String, String, String[])

요청과 연결된 클레임 ID를 가져옵니다.

GetIdentityAsync(String, String)

요청과 연결된 클레임 ID를 가져옵니다.

public System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity> GetIdentityAsync (string authorizationHeader, string channelId);
member this.GetIdentityAsync : string * string -> System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity>
Public Function GetIdentityAsync (authorizationHeader As String, channelId As String) As Task(Of ClaimsIdentity)

매개 변수

authorizationHeader
String

"Bearer [longString]" 형식의 원시 HTTP 헤더입니다.

channelId
String

원래 요청에서 유효성을 검사하는 채널의 ID입니다.

반환

Task<TResult> 개체입니다.

적용 대상

GetIdentityAsync(String, String, String)

요청과 연결된 클레임 ID를 가져옵니다.

public System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity> GetIdentityAsync (string scheme, string parameter, string channelId);
member this.GetIdentityAsync : string * string * string -> System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity>
Public Function GetIdentityAsync (scheme As String, parameter As String, channelId As String) As Task(Of ClaimsIdentity)

매개 변수

scheme
String

연결된 체계입니다.

parameter
String

토큰입니다.

channelId
String

원래 요청에서 유효성을 검사하는 채널의 ID입니다.

반환

Task<TResult> 개체입니다.

적용 대상

GetIdentityAsync(String, String, String[])

요청과 연결된 클레임 ID를 가져옵니다.

public System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity> GetIdentityAsync (string authorizationHeader, string channelId, string[] requiredEndorsements);
member this.GetIdentityAsync : string * string * string[] -> System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity>
Public Function GetIdentityAsync (authorizationHeader As String, channelId As String, requiredEndorsements As String()) As Task(Of ClaimsIdentity)

매개 변수

authorizationHeader
String

"Bearer [longString]" 형식의 원시 HTTP 헤더입니다.

channelId
String

원래 요청에서 유효성을 검사하는 채널의 ID입니다.

requiredEndorsements
String[]

필요한 JWT 보증입니다.

반환

Task<TResult> 개체입니다.

적용 대상

GetIdentityAsync(String, String, String, String[])

요청과 연결된 클레임 ID를 가져옵니다.

public System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity> GetIdentityAsync (string scheme, string parameter, string channelId, string[] requiredEndorsements);
member this.GetIdentityAsync : string * string * string * string[] -> System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity>
Public Function GetIdentityAsync (scheme As String, parameter As String, channelId As String, requiredEndorsements As String()) As Task(Of ClaimsIdentity)

매개 변수

scheme
String

연결된 체계입니다.

parameter
String

토큰입니다.

channelId
String

원래 요청에서 유효성을 검사하는 채널의 ID입니다.

requiredEndorsements
String[]

필요한 JWT 보증입니다.

반환

Task<TResult> 개체입니다.

적용 대상