Compartir a través de


OpenIdConnectHandler.GetUserInformationAsync Método

Definición

Sobrecargas

GetUserInformationAsync(OpenIdConnectMessage, JwtSecurityToken, AuthenticationTicket)

Va al punto de conexión UserInfo para recuperar notificaciones adicionales y agregar notificaciones únicas a la identidad especificada.

GetUserInformationAsync(OpenIdConnectMessage, JwtSecurityToken, ClaimsPrincipal, AuthenticationProperties)

Va al punto de conexión UserInfo para recuperar notificaciones adicionales y agregar notificaciones únicas a la identidad especificada.

GetUserInformationAsync(OpenIdConnectMessage, JwtSecurityToken, AuthenticationTicket)

Va al punto de conexión UserInfo para recuperar notificaciones adicionales y agregar notificaciones únicas a la identidad especificada.

protected:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticateResult ^> ^ GetUserInformationAsync(Microsoft::IdentityModel::Protocols::OpenIdConnect::OpenIdConnectMessage ^ message, System::IdentityModel::Tokens::Jwt::JwtSecurityToken ^ jwt, Microsoft::AspNetCore::Authentication::AuthenticationTicket ^ ticket);
protected virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult> GetUserInformationAsync (Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage message, System.IdentityModel.Tokens.Jwt.JwtSecurityToken jwt, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket);
abstract member GetUserInformationAsync : Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage * System.IdentityModel.Tokens.Jwt.JwtSecurityToken * Microsoft.AspNetCore.Authentication.AuthenticationTicket -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>
override this.GetUserInformationAsync : Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage * System.IdentityModel.Tokens.Jwt.JwtSecurityToken * Microsoft.AspNetCore.Authentication.AuthenticationTicket -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>
Protected Overridable Function GetUserInformationAsync (message As OpenIdConnectMessage, jwt As JwtSecurityToken, ticket As AuthenticationTicket) As Task(Of AuthenticateResult)

Parámetros

message
OpenIdConnectMessage

mensaje que se está procesando

ticket
AuthenticationTicket

vale de autenticación con entidades de seguridad e identidades de notificaciones

Devoluciones

Vale de autenticación con identidad con notificaciones adicionales, si las hay.

Se aplica a

GetUserInformationAsync(OpenIdConnectMessage, JwtSecurityToken, ClaimsPrincipal, AuthenticationProperties)

Source:
OpenIdConnectHandler.cs
Source:
OpenIdConnectHandler.cs
Source:
OpenIdConnectHandler.cs
Source:
OpenIdConnectHandler.cs
Source:
OpenIdConnectHandler.cs
Source:
OpenIdConnectHandler.cs
Source:
OpenIdConnectHandler.cs
Source:
OpenIdConnectHandler.cs
Source:
OpenIdConnectHandler.cs

Va al punto de conexión UserInfo para recuperar notificaciones adicionales y agregar notificaciones únicas a la identidad especificada.

protected:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::HandleRequestResult ^> ^ GetUserInformationAsync(Microsoft::IdentityModel::Protocols::OpenIdConnect::OpenIdConnectMessage ^ message, System::IdentityModel::Tokens::Jwt::JwtSecurityToken ^ jwt, System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
protected virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.HandleRequestResult> GetUserInformationAsync (Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage message, System.IdentityModel.Tokens.Jwt.JwtSecurityToken jwt, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
abstract member GetUserInformationAsync : Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage * System.IdentityModel.Tokens.Jwt.JwtSecurityToken * System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.HandleRequestResult>
override this.GetUserInformationAsync : Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage * System.IdentityModel.Tokens.Jwt.JwtSecurityToken * System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.HandleRequestResult>
Protected Overridable Function GetUserInformationAsync (message As OpenIdConnectMessage, jwt As JwtSecurityToken, principal As ClaimsPrincipal, properties As AuthenticationProperties) As Task(Of HandleRequestResult)

Parámetros

message
OpenIdConnectMessage

mensaje que se está procesando

principal
ClaimsPrincipal

La entidad de seguridad y las identidades de notificaciones.

properties
AuthenticationProperties

Propiedades de autenticación.

Devoluciones

HandleRequestResult que se usa para determinar si la autenticación remota se realizó correctamente.

Se aplica a