AuthenticationHttpContextExtensions.SignInAsync AuthenticationHttpContextExtensions.SignInAsync AuthenticationHttpContextExtensions.SignInAsync Method

Definition

Overloads

SignInAsync(HttpContext, ClaimsPrincipal) SignInAsync(HttpContext, ClaimsPrincipal) SignInAsync(HttpContext, ClaimsPrincipal)

Extension method for SignIn using the DefaultSignInScheme.

SignInAsync(HttpContext, ClaimsPrincipal, AuthenticationProperties) SignInAsync(HttpContext, ClaimsPrincipal, AuthenticationProperties) SignInAsync(HttpContext, ClaimsPrincipal, AuthenticationProperties)

Extension method for SignIn using the DefaultSignInScheme.

SignInAsync(HttpContext, String, ClaimsPrincipal) SignInAsync(HttpContext, String, ClaimsPrincipal) SignInAsync(HttpContext, String, ClaimsPrincipal)

Extension method for SignIn.

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

Extension method for SignIn.

SignInAsync(HttpContext, ClaimsPrincipal) SignInAsync(HttpContext, ClaimsPrincipal) SignInAsync(HttpContext, ClaimsPrincipal)

Extension method for SignIn using the DefaultSignInScheme.

public static System.Threading.Tasks.Task SignInAsync (this Microsoft.AspNetCore.Http.HttpContext context, System.Security.Claims.ClaimsPrincipal principal);
static member SignInAsync : Microsoft.AspNetCore.Http.HttpContext * System.Security.Claims.ClaimsPrincipal -> System.Threading.Tasks.Task
<Extension()>
Public Function SignInAsync (context As HttpContext, principal As ClaimsPrincipal) As Task

Parameters

Returns

The task.

SignInAsync(HttpContext, ClaimsPrincipal, AuthenticationProperties) SignInAsync(HttpContext, ClaimsPrincipal, AuthenticationProperties) SignInAsync(HttpContext, ClaimsPrincipal, AuthenticationProperties)

Extension method for SignIn using the DefaultSignInScheme.

public static System.Threading.Tasks.Task SignInAsync (this Microsoft.AspNetCore.Http.HttpContext context, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
static member SignInAsync : Microsoft.AspNetCore.Http.HttpContext * System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
<Extension()>
Public Function SignInAsync (context As HttpContext, principal As ClaimsPrincipal, properties As AuthenticationProperties) As Task

Parameters

Returns

The task.

SignInAsync(HttpContext, String, ClaimsPrincipal) SignInAsync(HttpContext, String, ClaimsPrincipal) SignInAsync(HttpContext, String, ClaimsPrincipal)

Extension method for SignIn.

public static System.Threading.Tasks.Task SignInAsync (this Microsoft.AspNetCore.Http.HttpContext context, string scheme, System.Security.Claims.ClaimsPrincipal principal);
static member SignInAsync : Microsoft.AspNetCore.Http.HttpContext * string * System.Security.Claims.ClaimsPrincipal -> System.Threading.Tasks.Task
<Extension()>
Public Function SignInAsync (context As HttpContext, scheme As String, principal As ClaimsPrincipal) As Task

Parameters

scheme
String String String

The name of the authentication scheme.

Returns

The task.

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

Extension method for SignIn.

public static System.Threading.Tasks.Task SignInAsync (this Microsoft.AspNetCore.Http.HttpContext context, string scheme, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
static member SignInAsync : Microsoft.AspNetCore.Http.HttpContext * string * System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
<Extension()>
Public Function SignInAsync (context As HttpContext, scheme As String, principal As ClaimsPrincipal, properties As AuthenticationProperties) As Task

Parameters

scheme
String String String

The name of the authentication scheme.

Returns

The task.

Applies to