Méthode | Description | |
---|---|---|
CheckSession ( ) : void | ||
GetUserLoggedEmail ( ) : string | ||
GetUserLoggedId ( ) : string | ||
GetUserLoggedName ( ) : string | ||
GetUserLoggedRole ( ) : string | ||
LogIn ( string userEmail, string password, bool remember = false, bool redirect = true ) : bool | ||
LogOut ( bool redirect = false ) : void | ||
SessionManagementRepository ( IUserRepository userRepository, IPeopleRepository peopleRepository ) : System.Globalization |
Méthode | Description | |
---|---|---|
UpdateSessionFromUser ( User user ) : void |
public LogIn ( string userEmail, string password, bool remember = false, bool redirect = true ) : bool | ||
userEmail | string | |
password | string | |
remember | bool | |
redirect | bool | |
Résultat | bool |
public SessionManagementRepository ( IUserRepository userRepository, IPeopleRepository peopleRepository ) : System.Globalization | ||
userRepository | IUserRepository | |
peopleRepository | IPeopleRepository | |
Résultat | System.Globalization |