ControllerBase.SignIn Método

Definición

Sobrecargas

SignIn(ClaimsPrincipal, AuthenticationProperties, String)

Crea un SignInResult objeto con el esquema de autenticación especificado y properties.

SignIn(ClaimsPrincipal, AuthenticationProperties, String)

Crea un SignInResult objeto con el esquema de autenticación especificado y properties.

SignIn(ClaimsPrincipal, String)

Crea un SignInResult objeto con el esquema de autenticación especificado.

SignIn(ClaimsPrincipal, AuthenticationProperties)

Crea un objeto SignInResult con properties.

SignIn(ClaimsPrincipal)

Crea una interfaz SignInResult.

SignIn(ClaimsPrincipal, AuthenticationProperties, String)

Crea un SignInResult objeto con el esquema de autenticación especificado y properties.

public:
 virtual Microsoft::AspNetCore::Mvc::SignInResult ^ SignIn(System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties, System::String ^ authenticationScheme);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignInResult SignIn (System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties, string authenticationScheme);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member SignIn : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties * string -> Microsoft.AspNetCore.Mvc.SignInResult
override this.SignIn : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties * string -> Microsoft.AspNetCore.Mvc.SignInResult
Public Overridable Function SignIn (principal As ClaimsPrincipal, properties As AuthenticationProperties, authenticationScheme As String) As SignInResult

Parámetros

principal
ClaimsPrincipal

que ClaimsPrincipal contiene las notificaciones del usuario.

properties
AuthenticationProperties

AuthenticationProperties se usa para realizar la operación de inicio de sesión.

authenticationScheme
String

Esquema de autenticación que se va a usar para la operación de inicio de sesión.

Devoluciones

objeto creado SignInResult para la respuesta.

Atributos

Se aplica a

SignIn(ClaimsPrincipal, AuthenticationProperties, String)

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

Crea un SignInResult objeto con el esquema de autenticación especificado y properties.

public:
 virtual Microsoft::AspNetCore::Mvc::SignInResult ^ SignIn(System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, System::String ^ authenticationScheme);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignInResult SignIn (System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string authenticationScheme);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member SignIn : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties * string -> Microsoft.AspNetCore.Mvc.SignInResult
override this.SignIn : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties * string -> Microsoft.AspNetCore.Mvc.SignInResult
Public Overridable Function SignIn (principal As ClaimsPrincipal, properties As AuthenticationProperties, authenticationScheme As String) As SignInResult

Parámetros

principal
ClaimsPrincipal

que ClaimsPrincipal contiene las notificaciones del usuario.

properties
AuthenticationProperties

AuthenticationProperties se usa para realizar la operación de inicio de sesión.

authenticationScheme
String

Esquema de autenticación que se va a usar para la operación de inicio de sesión.

Devoluciones

objeto creado SignInResult para la respuesta.

Atributos

Se aplica a

SignIn(ClaimsPrincipal, String)

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

Crea un SignInResult objeto con el esquema de autenticación especificado.

public:
 virtual Microsoft::AspNetCore::Mvc::SignInResult ^ SignIn(System::Security::Claims::ClaimsPrincipal ^ principal, System::String ^ authenticationScheme);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignInResult SignIn (System.Security.Claims.ClaimsPrincipal principal, string authenticationScheme);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member SignIn : System.Security.Claims.ClaimsPrincipal * string -> Microsoft.AspNetCore.Mvc.SignInResult
override this.SignIn : System.Security.Claims.ClaimsPrincipal * string -> Microsoft.AspNetCore.Mvc.SignInResult
Public Overridable Function SignIn (principal As ClaimsPrincipal, authenticationScheme As String) As SignInResult

Parámetros

principal
ClaimsPrincipal

que ClaimsPrincipal contiene las notificaciones del usuario.

authenticationScheme
String

Esquema de autenticación que se va a usar para la operación de inicio de sesión.

Devoluciones

objeto creado SignInResult para la respuesta.

Atributos

Se aplica a

SignIn(ClaimsPrincipal, AuthenticationProperties)

Source:
ControllerBase.cs

Crea un objeto SignInResult con properties.

public:
 virtual Microsoft::AspNetCore::Mvc::SignInResult ^ SignIn(System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignInResult SignIn (System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member SignIn : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.SignInResult
override this.SignIn : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.SignInResult
Public Overridable Function SignIn (principal As ClaimsPrincipal, properties As AuthenticationProperties) As SignInResult

Parámetros

principal
ClaimsPrincipal

que ClaimsPrincipal contiene las notificaciones del usuario.

properties
AuthenticationProperties

AuthenticationProperties se usa para realizar la operación de inicio de sesión.

Devoluciones

objeto creado SignInResult para la respuesta.

Atributos

Se aplica a

SignIn(ClaimsPrincipal)

Source:
ControllerBase.cs

Crea una interfaz SignInResult.

public:
 virtual Microsoft::AspNetCore::Mvc::SignInResult ^ SignIn(System::Security::Claims::ClaimsPrincipal ^ principal);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignInResult SignIn (System.Security.Claims.ClaimsPrincipal principal);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member SignIn : System.Security.Claims.ClaimsPrincipal -> Microsoft.AspNetCore.Mvc.SignInResult
override this.SignIn : System.Security.Claims.ClaimsPrincipal -> Microsoft.AspNetCore.Mvc.SignInResult
Public Overridable Function SignIn (principal As ClaimsPrincipal) As SignInResult

Parámetros

principal
ClaimsPrincipal

que ClaimsPrincipal contiene las notificaciones del usuario.

Devoluciones

objeto creado SignInResult para la respuesta.

Atributos

Se aplica a