Method | 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 |
Method | 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 | |
return | bool |
public SessionManagementRepository ( IUserRepository userRepository, IPeopleRepository peopleRepository ) : System.Globalization | ||
userRepository | IUserRepository | |
peopleRepository | IPeopleRepository | |
return | System.Globalization |