AuthenticationManager.SignInAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- authenticationScheme
- String
- principal
- ClaimsPrincipal
Returns
Applies to
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
Parameters
- authenticationScheme
- String
- principal
- ClaimsPrincipal
- properties
- AuthenticationProperties