C# Class UCosmic.Www.Mvc.Areas.Identity.Controllers.ValidateConfirmEmailAttribute

Inheritance: System.Web.Mvc.ActionFilterAttribute
Exibir arquivo Open project: ucosmic/UCosmicPreview Class Usage Examples

Public Methods

Method Description
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
ValidateConfirmEmailAttribute ( string paramName ) : System

Protected Methods

Method Description
GetToken ( System.Web.Mvc.ActionExecutingContext filterContext ) : System.Guid
HandleDenial ( System.Web.Mvc.ActionExecutingContext filterContext, ConfirmDeniedBecause reason ) : void

Private Methods

Method Description
ValidateExpiration ( System.Web.Mvc.ActionExecutingContext filterContext ) : bool
ValidateRetirement ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
ValidateToken ( System.Web.Mvc.ActionExecutingContext filterContext ) : bool

Method Details

GetToken() protected method

protected GetToken ( System.Web.Mvc.ActionExecutingContext filterContext ) : System.Guid
filterContext System.Web.Mvc.ActionExecutingContext
return System.Guid

HandleDenial() protected method

protected HandleDenial ( System.Web.Mvc.ActionExecutingContext filterContext, ConfirmDeniedBecause reason ) : void
filterContext System.Web.Mvc.ActionExecutingContext
reason ConfirmDeniedBecause
return void

OnActionExecuting() public method

public OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutingContext
return void

ValidateConfirmEmailAttribute() public method

public ValidateConfirmEmailAttribute ( string paramName ) : System
paramName string
return System