C# Class DotNetClub.Web.Filters.RequireLoginAttribute

Inheritance: ActionFilterAttribute
Show file Open project: scheshan/DotNetClub

Public Methods

Method Description
OnActionExecuting ( Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext context ) : void

Private Methods

Method Description
GetRedirectUrl ( HttpRequest request ) : string

Method Details

OnActionExecuting() public method

public OnActionExecuting ( Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext context ) : void
context Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext
return void