1 instantiation of SignOutHttpResult
Microsoft.AspNetCore.Http.Results (1)
TypedResults.cs (1)
85
=>
new
(authenticationSchemes ?? Array.Empty<string>(), properties);
15 references to SignOutHttpResult
Microsoft.AspNetCore.Http.Results (7)
SignOutHttpResult.cs (4)
17
/// Initializes a new instance of <see cref="
SignOutHttpResult
"/> with the default sign out scheme.
25
/// Initializes a new instance of <see cref="
SignOutHttpResult
"/> with the
35
/// Initializes a new instance of <see cref="
SignOutHttpResult
"/> with the
46
/// Initializes a new instance of <see cref="
SignOutHttpResult
"/> with the
TypedResults.cs (3)
79
/// Creates a <see cref="
SignOutHttpResult
"/> that on execution invokes <see cref="AuthenticationHttpContextExtensions.SignOutAsync(HttpContext, string?, AuthenticationProperties?)" />.
83
/// <returns>The created <see cref="
SignOutHttpResult
"/> for the response.</returns>
84
public static
SignOutHttpResult
SignOut(AuthenticationProperties? properties = null, IList<string>? authenticationSchemes = null)
Microsoft.AspNetCore.Http.Results.Tests (8)
ResultsTests.cs (3)
444
var
result = Results.SignOut(properties, authenticationSchemes) as
SignOutHttpResult
;
1775
(() => Results.SignOut(new(), null), typeof(
SignOutHttpResult
)),
SignOutResultTests.cs (4)
24
var
result = new SignOutHttpResult();
43
var
result = new SignOutHttpResult("", null);
67
var
result = new SignOutHttpResult(new[] { "Scheme1", "Scheme2" }, authProperties);
80
var
result = new SignOutHttpResult();
TypedResultsTests.cs (1)
454
var
result = TypedResults.SignOut(properties, authenticationSchemes);