Condividi tramite


JwtTokenExtractor.GetIdentityAsync Metodo

Definizione

Overload

GetIdentityAsync(String, String)

Ottiene l'identità delle attestazioni associata a una richiesta.

GetIdentityAsync(String, String, String)

Ottiene l'identità delle attestazioni associata a una richiesta.

GetIdentityAsync(String, String, String[])

Ottiene l'identità delle attestazioni associata a una richiesta.

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

Ottiene l'identità delle attestazioni associata a una richiesta.

GetIdentityAsync(String, String)

Ottiene l'identità delle attestazioni associata a una richiesta.

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)

Parametri

authorizationHeader
String

Intestazione HTTP non elaborata nel formato: "Bearer [longString]".

channelId
String

ID del canale da convalidare nella richiesta originale.

Restituisce

Un oggetto Task<TResult>.

Si applica a

GetIdentityAsync(String, String, String)

Ottiene l'identità delle attestazioni associata a una richiesta.

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)

Parametri

scheme
String

Schema associato.

parameter
String

Il token.

channelId
String

ID del canale da convalidare nella richiesta originale.

Restituisce

Un oggetto Task<TResult>.

Si applica a

GetIdentityAsync(String, String, String[])

Ottiene l'identità delle attestazioni associata a una richiesta.

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)

Parametri

authorizationHeader
String

Intestazione HTTP non elaborata nel formato: "Bearer [longString]".

channelId
String

ID del canale da convalidare nella richiesta originale.

requiredEndorsements
String[]

Approvazioni JWT necessarie.

Restituisce

Un oggetto Task<TResult>.

Si applica a

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

Ottiene l'identità delle attestazioni associata a una richiesta.

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)

Parametri

scheme
String

Schema associato.

parameter
String

Il token.

channelId
String

ID del canale da convalidare nella richiesta originale.

requiredEndorsements
String[]

Approvazioni JWT necessarie.

Restituisce

Un oggetto Task<TResult>.

Si applica a