SignOutResult Class

An Microsoft.AspNetCore.Mvc.ActionResult that on execution invokes AuthenticationManager.SignOutAsync.

Namespace
Microsoft.AspNetCore.Mvc
Assemblies
  • Microsoft.AspNetCore.Mvc.Core

Syntax

public class SignOutResult : ActionResult, IActionResult
class Microsoft.AspNetCore.Mvc.SignOutResult

Constructors

SignOutResult(System.Collections.Generic.IList<System.String>)

Initializes a new instance of Microsoft.AspNetCore.Mvc.SignOutResult with the specified authentication schemes.

Arguments:authenticationSchemes (System.Collections.Generic.IList<System.String>) – The authentication schemes to use when signing out the user.
public SignOutResult(IList<string> authenticationSchemes)
SignOutResult(System.Collections.Generic.IList<System.String>, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties)

Initializes a new instance of Microsoft.AspNetCore.Mvc.SignOutResult with the specified authentication schemes and <em>properties</em>.

Arguments:
public SignOutResult(IList<string> authenticationSchemes, AuthenticationProperties properties)
SignOutResult(System.String)

Initializes a new instance of Microsoft.AspNetCore.Mvc.SignOutResult with the specified authentication scheme.

Arguments:authenticationScheme (System.String) – The authentication scheme to use when signing out the user.
public SignOutResult(string authenticationScheme)
SignOutResult(System.String, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties)

Initializes a new instance of Microsoft.AspNetCore.Mvc.SignOutResult with the specified authentication scheme and <em>properties</em>.

Arguments:
public SignOutResult(string authenticationScheme, AuthenticationProperties properties)

Properties

Microsoft.AspNetCore.Mvc.SignOutResult.AuthenticationSchemes

Gets or sets the authentication schemes that are challenged.

Return type:System.Collections.Generic.IList<System.String>
public IList<string> AuthenticationSchemes { get; set; }
Microsoft.AspNetCore.Mvc.SignOutResult.Properties

Gets or sets the Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties used to perform the sign-out operation.

Return type:Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties
public AuthenticationProperties Properties { get; set; }

Methods

ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext)
Return type:System.Threading.Tasks.Task
public override Task ExecuteResultAsync(ActionContext context)