ChallengeResult Class

Syntax

public class ChallengeResult : ActionResult, IActionResult

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.ChallengeResult

Constructors

Microsoft.AspNet.Mvc.ChallengeResult.ChallengeResult()
public ChallengeResult()
ChallengeResult(AuthenticationProperties)
Arguments:
  • properties (AuthenticationProperties) –
public ChallengeResult(AuthenticationProperties properties)
ChallengeResult(System.Collections.Generic.IList<System.String>)
Arguments:
  • authenticationSchemes (System.Collections.Generic.IList{System.String}) –
public ChallengeResult(IList<string> authenticationSchemes)
ChallengeResult(System.Collections.Generic.IList<System.String>, AuthenticationProperties)
Arguments:
  • authenticationSchemes (System.Collections.Generic.IList{System.String}) –
  • properties (AuthenticationProperties) –
public ChallengeResult(IList<string> authenticationSchemes, AuthenticationProperties properties)
ChallengeResult(System.String)
Arguments:
  • authenticationScheme (System.String) –
public ChallengeResult(string authenticationScheme)
ChallengeResult(System.String, AuthenticationProperties)
Arguments:
  • authenticationScheme (System.String) –
  • properties (AuthenticationProperties) –
public ChallengeResult(string authenticationScheme, AuthenticationProperties properties)

Properties

AuthenticationSchemes()
Return type:System.Collections.Generic.IList{System.String}
public IList<string> AuthenticationSchemes { get; set; }
Properties()
Return type:AuthenticationProperties
public AuthenticationProperties Properties { get; set; }

Methods

ExecuteResult(Microsoft.AspNet.Mvc.ActionContext)
Arguments:
public override void ExecuteResult(ActionContext context)