Controller.OnAuthenticationChallenge(AuthenticationChallengeContext) 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.
Called when authorization challenge occurs.
protected virtual void OnAuthenticationChallenge (System.Web.Mvc.Filters.AuthenticationChallengeContext filterContext);
abstract member OnAuthenticationChallenge : System.Web.Mvc.Filters.AuthenticationChallengeContext -> unit
override this.OnAuthenticationChallenge : System.Web.Mvc.Filters.AuthenticationChallengeContext -> unit
Protected Overridable Sub OnAuthenticationChallenge (filterContext As AuthenticationChallengeContext)
Parameters
- filterContext
- AuthenticationChallengeContext
Information about the current request and action.