C# Class Signum.Web.AuthenticationRequiredAttribute

Checks the User's authentication using FormsAuthentication and redirects to the Login Url for the application on fail
Inheritance: System.Web.Mvc.AuthorizeAttribute
Afficher le fichier Open project: signumsoftware/framework

Méthodes publiques

Свойство Type Description
Authenticate Action

Méthodes publiques

Méthode Description
AuthenticationRequiredAttribute ( ) : System
AuthenticationRequiredAttribute ( bool required ) : System
OnAuthorization ( System.Web.Mvc.AuthorizationContext filterContext ) : void

Method Details

AuthenticationRequiredAttribute() public méthode

public AuthenticationRequiredAttribute ( ) : System
Résultat System

AuthenticationRequiredAttribute() public méthode

public AuthenticationRequiredAttribute ( bool required ) : System
required bool
Résultat System

OnAuthorization() public méthode

public OnAuthorization ( System.Web.Mvc.AuthorizationContext filterContext ) : void
filterContext System.Web.Mvc.AuthorizationContext
Résultat void

Property Details

Authenticate public_oe static_oe property

public static Action Authenticate
Résultat Action