SignInManager<TUser>.SignInWithClaimsAsync Metodo

Definizione

Overload

SignInWithClaimsAsync(TUser, AuthenticationProperties, IEnumerable<Claim>)

Accedere all'oggetto specificato user.

SignInWithClaimsAsync(TUser, Boolean, IEnumerable<Claim>)

Accedere all'oggetto specificato user.

SignInWithClaimsAsync(TUser, AuthenticationProperties, IEnumerable<Claim>)

Origine:
SignInManager.cs

Accedere all'oggetto specificato user.

public:
 virtual System::Threading::Tasks::Task ^ SignInWithClaimsAsync(TUser user, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ authenticationProperties, System::Collections::Generic::IEnumerable<System::Security::Claims::Claim ^> ^ additionalClaims);
public virtual System.Threading.Tasks.Task SignInWithClaimsAsync (TUser user, Microsoft.AspNetCore.Authentication.AuthenticationProperties authenticationProperties, System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> additionalClaims);
public virtual System.Threading.Tasks.Task SignInWithClaimsAsync (TUser user, Microsoft.AspNetCore.Authentication.AuthenticationProperties? authenticationProperties, System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> additionalClaims);
abstract member SignInWithClaimsAsync : 'User * Microsoft.AspNetCore.Authentication.AuthenticationProperties * seq<System.Security.Claims.Claim> -> System.Threading.Tasks.Task
override this.SignInWithClaimsAsync : 'User * Microsoft.AspNetCore.Authentication.AuthenticationProperties * seq<System.Security.Claims.Claim> -> System.Threading.Tasks.Task
Public Overridable Function SignInWithClaimsAsync (user As TUser, authenticationProperties As AuthenticationProperties, additionalClaims As IEnumerable(Of Claim)) As Task

Parametri

user
TUser

Utente da eseguire l'accesso.

authenticationProperties
AuthenticationProperties

Proprietà applicate al cookie di accesso e autenticazione.

additionalClaims
IEnumerable<Claim>

Attestazioni aggiuntive che verranno archiviate nel cookie.

Restituisce

Oggetto dell'attività che rappresenta l'operazione asincrona.

Si applica a

SignInWithClaimsAsync(TUser, Boolean, IEnumerable<Claim>)

Origine:
SignInManager.cs

Accedere all'oggetto specificato user.

public:
 virtual System::Threading::Tasks::Task ^ SignInWithClaimsAsync(TUser user, bool isPersistent, System::Collections::Generic::IEnumerable<System::Security::Claims::Claim ^> ^ additionalClaims);
public virtual System.Threading.Tasks.Task SignInWithClaimsAsync (TUser user, bool isPersistent, System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> additionalClaims);
abstract member SignInWithClaimsAsync : 'User * bool * seq<System.Security.Claims.Claim> -> System.Threading.Tasks.Task
override this.SignInWithClaimsAsync : 'User * bool * seq<System.Security.Claims.Claim> -> System.Threading.Tasks.Task
Public Overridable Function SignInWithClaimsAsync (user As TUser, isPersistent As Boolean, additionalClaims As IEnumerable(Of Claim)) As Task

Parametri

user
TUser

Utente da eseguire l'accesso.

isPersistent
Boolean

Flag che indica se il cookie di accesso deve essere persistente dopo la chiusura del browser.

additionalClaims
IEnumerable<Claim>

Attestazioni aggiuntive che verranno archiviate nel cookie.

Restituisce

Oggetto dell'attività che rappresenta l'operazione asincrona.

Si applica a