1 instantiation of SignInHttpResult
Microsoft.AspNetCore.Http.Results (1)
TypedResults.cs (1)
75
return
new
(principal, authenticationScheme, properties);
14 references to SignInHttpResult
Microsoft.AspNetCore.Http.Results (5)
SignInHttpResult.cs (2)
17
/// Initializes a new instance of <see cref="
SignInHttpResult
"/> with the
27
/// Initializes a new instance of <see cref="
SignInHttpResult
"/> with the
TypedResults.cs (3)
62
/// Creates a <see cref="
SignInHttpResult
"/> that on execution invokes <see cref="AuthenticationHttpContextExtensions.SignInAsync(HttpContext, string?, ClaimsPrincipal, AuthenticationProperties?)" />.
67
/// <returns>The created <see cref="
SignInHttpResult
"/> for the response.</returns>
68
public static
SignInHttpResult
SignIn(
Microsoft.AspNetCore.Http.Results.Tests (8)
ResultsTests.cs (3)
459
var
result = Results.SignIn(principal, properties, authenticationSchemes?.First()) as
SignInHttpResult
;
1774
(() => Results.SignIn(new(), null, null), typeof(
SignInHttpResult
)),
SignInResultTests.cs (4)
27
var
result = new SignInHttpResult(principal, "", null);
47
var
result = new SignInHttpResult(principal);
68
var
result = new SignInHttpResult(principal, "Scheme1", authProperties);
81
var
result = new SignInHttpResult(new());
TypedResultsTests.cs (1)
469
var
result = TypedResults.SignIn(principal, properties, authenticationSchemes?.First());
Microsoft.AspNetCore.Identity (1)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
122
routeGroup.MapPost("/refresh", async Task<Results<Ok<AccessTokenResponse>, UnauthorizedHttpResult,
SignInHttpResult
, ChallengeHttpResult>>