JwtTokenExtractor.GetIdentityAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetIdentityAsync(HttpRequestMessage) | |
GetIdentityAsync(String) | |
GetIdentityAsync(String, String) |
GetIdentityAsync(HttpRequestMessage)
public System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity> GetIdentityAsync (System.Net.Http.HttpRequestMessage request);
member this.GetIdentityAsync : System.Net.Http.HttpRequestMessage -> System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity>
Public Function GetIdentityAsync (request As HttpRequestMessage) As Task(Of ClaimsIdentity)
参数
- request
- HttpRequestMessage
返回
适用于
GetIdentityAsync(String)
public System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity> GetIdentityAsync (string authorizationHeader);
member this.GetIdentityAsync : string -> System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity>
Public Function GetIdentityAsync (authorizationHeader As String) As Task(Of ClaimsIdentity)
参数
- authorizationHeader
- String
返回
适用于
GetIdentityAsync(String, String)
public System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity> GetIdentityAsync (string scheme, string parameter);
member this.GetIdentityAsync : string * string -> System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity>
Public Function GetIdentityAsync (scheme As String, parameter As String) As Task(Of ClaimsIdentity)
参数
- scheme
- String
- parameter
- String