Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | bool |
public LogOut ( bool redirect = false ) : void | ||
redirect | bool | |
Результат | void |
public SessionManagementRepository ( IUserRepository userRepository, IPeopleRepository peopleRepository ) : System.Globalization | ||
userRepository | IUserRepository | |
peopleRepository | IPeopleRepository | |
Результат | System.Globalization |