albaString - performs common string operations on c-strings.
albaUser - Used to manage username and password; store them and give basic function to check user's c...
albaString & GetName()
Return the information on user name.
albaString & GetProxyHost()
Return the information on proxy host.
virtual bool IsAuthenticated()
Function to be customized at application level.
int m_RememberCredentials
void InitializeUserInformations()
Retrieve user information saved into an encrypted file.
albaString & GetPwd()
Return the information on users' password.
virtual bool CheckUserCredentials()
Function to be customized at application level.
albaString m_UserInfoFile
int & GetProxyPort()
Return the information on proxy port.
int m_ProxyPort
Proxy Host.
int & GetProxyFlag()
Return the information on proxy flag.
albaString m_ProxyHost
Proxy Host.
void InitUserInfoHome()
Set the folder in which store encrypted user credentials.
int m_ProxyFlag
Flag used to for enable proxy.
bool SetCredentials(albaString &name, albaString &pwd, int &proxyFlag, albaString &proxyHost, albaString &proxyPort, int &remember_me)
Set the user's credentials.
int ShowLoginDialog()
Allows to show login dialog and get credentials from the application's user.
int GetRememberUserCredentials()
Return information to allow saving or not users' information.
void UpdateUserCredentialsFile()
Update user credentials into an encrypted file or remove the file if the user don't want to save its ...
bool m_Initialized
Flag used to verify if users' information has been initialized.