Condividi tramite


ControllerBase.SignIn Metodo

Definizione

Overload

SignIn(ClaimsPrincipal, AuthenticationProperties, String)

Crea un SignInResult oggetto con lo schema di autenticazione specificato e properties.

SignIn(ClaimsPrincipal, AuthenticationProperties, String)

Crea un SignInResult oggetto con lo schema di autenticazione specificato e properties.

SignIn(ClaimsPrincipal, String)

Crea un oggetto SignInResult con lo schema di autenticazione specificato.

SignIn(ClaimsPrincipal, AuthenticationProperties)

Crea un SignInResult oggetto con properties.

SignIn(ClaimsPrincipal)

Crea un oggetto SignInResult.

SignIn(ClaimsPrincipal, AuthenticationProperties, String)

Crea un SignInResult oggetto con lo schema di autenticazione specificato e 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

Parametri

principal
ClaimsPrincipal

Oggetto ClaimsPrincipal contenente le attestazioni utente.

properties
AuthenticationProperties

AuthenticationProperties usato per eseguire l'operazione di accesso.

authenticationScheme
String

Schema di autenticazione da usare per l'operazione di accesso.

Restituisce

Oggetto creato SignInResult per la risposta.

Attributi

Si applica a

SignIn(ClaimsPrincipal, AuthenticationProperties, String)

Origine:
ControllerBase.cs
Origine:
ControllerBase.cs
Origine:
ControllerBase.cs

Crea un SignInResult oggetto con lo schema di autenticazione specificato e 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

Parametri

principal
ClaimsPrincipal

Oggetto ClaimsPrincipal contenente le attestazioni utente.

properties
AuthenticationProperties

AuthenticationProperties usato per eseguire l'operazione di accesso.

authenticationScheme
String

Schema di autenticazione da usare per l'operazione di accesso.

Restituisce

Oggetto creato SignInResult per la risposta.

Attributi

Si applica a

SignIn(ClaimsPrincipal, String)

Origine:
ControllerBase.cs
Origine:
ControllerBase.cs
Origine:
ControllerBase.cs

Crea un oggetto SignInResult con lo schema di autenticazione specificato.

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

Parametri

principal
ClaimsPrincipal

Oggetto ClaimsPrincipal contenente le attestazioni utente.

authenticationScheme
String

Schema di autenticazione da usare per l'operazione di accesso.

Restituisce

Oggetto creato SignInResult per la risposta.

Attributi

Si applica a

SignIn(ClaimsPrincipal, AuthenticationProperties)

Origine:
ControllerBase.cs

Crea un SignInResult oggetto 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

Parametri

principal
ClaimsPrincipal

Oggetto ClaimsPrincipal contenente le attestazioni utente.

properties
AuthenticationProperties

AuthenticationProperties usato per eseguire l'operazione di accesso.

Restituisce

Oggetto creato SignInResult per la risposta.

Attributi

Si applica a

SignIn(ClaimsPrincipal)

Origine:
ControllerBase.cs

Crea un oggetto 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

Parametri

principal
ClaimsPrincipal

Oggetto ClaimsPrincipal contenente le attestazioni utente.

Restituisce

Oggetto creato SignInResult per la risposta.

Attributi

Si applica a