1 instantiation of ChallengeHttpResult
Microsoft.AspNetCore.Http.Results (1)
TypedResults.cs (1)
41
=>
new
(authenticationSchemes: authenticationSchemes ?? Array.Empty<string>(), properties);
15 references to ChallengeHttpResult
Microsoft.AspNetCore.Http.Results (7)
ChallengeHttpResult.cs (4)
17
/// Initializes a new instance of <see cref="
ChallengeHttpResult
"/>.
25
/// Initializes a new instance of <see cref="
ChallengeHttpResult
"/> with the
35
/// Initializes a new instance of <see cref="
ChallengeHttpResult
"/> with the
47
/// Initializes a new instance of <see cref="
ChallengeHttpResult
"/> with the
TypedResults.cs (3)
27
/// Creates a <see cref="
ChallengeHttpResult
"/> that on execution invokes <see cref="AuthenticationHttpContextExtensions.ChallengeAsync(HttpContext, string?, AuthenticationProperties?)" />.
37
/// <returns>The created <see cref="
ChallengeHttpResult
"/> for the response.</returns>
38
public static
ChallengeHttpResult
Challenge(
Microsoft.AspNetCore.Http.Results.Tests (7)
ChallengeResultTests.cs (3)
18
var
result = new ChallengeHttpResult("", null);
33
var
result = new ChallengeHttpResult(new string[] { }, null);
48
var
result = new ChallengeHttpResult();
ResultsTests.cs (3)
382
var
result = Results.Challenge(properties, authenticationSchemes) as
ChallengeHttpResult
;
1739
(() => Results.Challenge(null, null), typeof(
ChallengeHttpResult
)),
TypedResultsTests.cs (1)
430
var
result = TypedResults.Challenge(properties, authenticationSchemes);
Microsoft.AspNetCore.Identity (1)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
122
routeGroup.MapPost("/refresh", async Task<Results<Ok<AccessTokenResponse>, UnauthorizedHttpResult, SignInHttpResult,
ChallengeHttpResult
>>