AuthenticationManager.SignInAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
- properties
- AuthenticationProperties