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
Mostra file Open project: signumsoftware/framework

Public Properties

Property Type Description
Authenticate Action

Public Methods

Method Description
AuthenticationRequiredAttribute ( ) : System
AuthenticationRequiredAttribute ( bool required ) : System
OnAuthorization ( System.Web.Mvc.AuthorizationContext filterContext ) : void

Method Details

AuthenticationRequiredAttribute() public method

public AuthenticationRequiredAttribute ( ) : System
return System

AuthenticationRequiredAttribute() public method

public AuthenticationRequiredAttribute ( bool required ) : System
required bool
return System

OnAuthorization() public method

public OnAuthorization ( System.Web.Mvc.AuthorizationContext filterContext ) : void
filterContext System.Web.Mvc.AuthorizationContext
return void

Property Details

Authenticate public_oe static_oe property

public static Action Authenticate
return Action