Method | Description | |
---|---|---|
IsAuthenticated ( System.Web.Mvc.ControllerContext context ) : bool | ||
IsAuthorized ( System.Web.Mvc.ControllerContext context, string roleToCheck, IUserRepository userRepository, IAccountRepository accountRepository ) : bool | ||
RedirectToDenied ( System.Web.Mvc.ControllerContext context ) : void | ||
RedirectToLogin ( System.Web.Mvc.ControllerContext context ) : void | ||
SetAuthCookie ( string userName, bool createPersistentCookie ) : void |
public IsAuthenticated ( System.Web.Mvc.ControllerContext context ) : bool | ||
context | System.Web.Mvc.ControllerContext | |
return | bool |
public IsAuthorized ( System.Web.Mvc.ControllerContext context, string roleToCheck, IUserRepository userRepository, IAccountRepository accountRepository ) : bool | ||
context | System.Web.Mvc.ControllerContext | |
roleToCheck | string | |
userRepository | IUserRepository | |
accountRepository | IAccountRepository | |
return | bool |
public RedirectToDenied ( System.Web.Mvc.ControllerContext context ) : void | ||
context | System.Web.Mvc.ControllerContext | |
return | void |
public RedirectToLogin ( System.Web.Mvc.ControllerContext context ) : void | ||
context | System.Web.Mvc.ControllerContext | |
return | void |
public SetAuthCookie ( string userName, bool createPersistentCookie ) : void | ||
userName | string | |
createPersistentCookie | bool | |
return | void |