TypedResults.SignOut(AuthenticationProperties, IList<String>) 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.
Creates a SignOutHttpResult that on execution invokes SignOutAsync(HttpContext, String, AuthenticationProperties).
public static Microsoft.AspNetCore.Http.HttpResults.SignOutHttpResult SignOut (Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties = default, System.Collections.Generic.IList<string>? authenticationSchemes = default);
static member SignOut : Microsoft.AspNetCore.Authentication.AuthenticationProperties * System.Collections.Generic.IList<string> -> Microsoft.AspNetCore.Http.HttpResults.SignOutHttpResult
Public Shared Function SignOut (Optional properties As AuthenticationProperties = Nothing, Optional authenticationSchemes As IList(Of String) = Nothing) As SignOutHttpResult
Parameters
- properties
- AuthenticationProperties
AuthenticationProperties used to perform the sign-out operation.
Returns
The created SignOutHttpResult for the response.