AuthenticationManager.SignInAsync 方法

定义

重载

SignInAsync(String, ClaimsPrincipal)
SignInAsync(String, ClaimsPrincipal, AuthenticationProperties)

SignInAsync(String, ClaimsPrincipal)

Source:
AuthenticationManager.cs
Source:
AuthenticationManager.cs
public:
 virtual System::Threading::Tasks::Task ^ SignInAsync(System::String ^ authenticationScheme, System::Security::Claims::ClaimsPrincipal ^ principal);
public virtual System.Threading.Tasks.Task SignInAsync (string authenticationScheme, System.Security.Claims.ClaimsPrincipal principal);
abstract member SignInAsync : string * System.Security.Claims.ClaimsPrincipal -> System.Threading.Tasks.Task
override this.SignInAsync : string * System.Security.Claims.ClaimsPrincipal -> System.Threading.Tasks.Task
Public Overridable Function SignInAsync (authenticationScheme As String, principal As ClaimsPrincipal) As Task

参数

authenticationScheme
String
principal
ClaimsPrincipal

返回

适用于

SignInAsync(String, ClaimsPrincipal, AuthenticationProperties)

Source:
AuthenticationManager.cs
Source:
AuthenticationManager.cs
public:
 abstract System::Threading::Tasks::Task ^ SignInAsync(System::String ^ authenticationScheme, System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties);
public abstract System.Threading.Tasks.Task SignInAsync (string authenticationScheme, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties);
abstract member SignInAsync : string * System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Public MustOverride Function SignInAsync (authenticationScheme As String, principal As ClaimsPrincipal, properties As AuthenticationProperties) As Task

参数

authenticationScheme
String
principal
ClaimsPrincipal

返回

适用于