JwtTokenExtractor.GetIdentityAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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)
Parameters
- request
- HttpRequestMessage
Returns
Applies to
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)
Parameters
- authorizationHeader
- String
Returns
Applies to
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)
Parameters
- scheme
- String
- parameter
- String