Udostępnij za pośrednictwem


IAuthenticationFilter.OnAuthenticationChallenge Metoda

Definicja

Dodaje wyzwanie uwierzytelniania do bieżącego ActionResultelementu .

public void OnAuthenticationChallenge(System.Web.Mvc.Filters.AuthenticationChallengeContext filterContext);
abstract member OnAuthenticationChallenge : System.Web.Mvc.Filters.AuthenticationChallengeContext -> unit
Public Sub OnAuthenticationChallenge (filterContext As AuthenticationChallengeContext)

Parametry

filterContext
AuthenticationChallengeContext

Kontekst używany do uwierzytelniania.

Dotyczy