C# Class Tigwi.UI.Controllers.HomeController

Inheritance: Controller
Afficher le fichier Open project: ismaelbelghiti/Tigwi

Private Properties

Свойство Type Description
MakeStorage IStorage

Méthodes publiques

Méthode Description
HomeController ( IStorage storage ) : System
Index ( string error ) : System.Web.Mvc.ActionResult
Me ( string error ) : System.Web.Mvc.ActionResult

Méthodes protégées

Méthode Description
AuthenticateUser ( IUserModel value, bool rememberMe ) : IUserModel
Deauthenticate ( ) : void
OnAuthorization ( System.Web.Mvc.AuthorizationContext filterContext ) : void
ResetCurrentAccount ( ) : void
TrySetCurrentAccount ( IAccountModel value ) : bool

Private Methods

Méthode Description
MakeStorage ( string accountName, string accountKey ) : IStorage

Method Details

AuthenticateUser() protected méthode

protected AuthenticateUser ( IUserModel value, bool rememberMe ) : IUserModel
value IUserModel
rememberMe bool
Résultat IUserModel

Deauthenticate() protected méthode

protected Deauthenticate ( ) : void
Résultat void

HomeController() public méthode

public HomeController ( IStorage storage ) : System
storage IStorage
Résultat System

Index() public méthode

public Index ( string error ) : System.Web.Mvc.ActionResult
error string
Résultat System.Web.Mvc.ActionResult

Me() public méthode

public Me ( string error ) : System.Web.Mvc.ActionResult
error string
Résultat System.Web.Mvc.ActionResult

OnAuthorization() protected méthode

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

ResetCurrentAccount() protected méthode

protected ResetCurrentAccount ( ) : void
Résultat void

TrySetCurrentAccount() protected méthode

protected TrySetCurrentAccount ( IAccountModel value ) : bool
value IAccountModel
Résultat bool