public static string GetMySqlUserName()
        {
            string userName = ZohoOAuth.GetConfigValue("mysql_username");

            if (userName == null)
            {
                return("root");
            }
            return(userName);
        }
        public static string GetMySqlPassword()
        {
            string password = ZohoOAuth.GetConfigValue("mysql_password");

            if (password == null)
            {
                return("");
            }
            return(password);
        }
Exemplo n.º 3
0
        public static string GetPortNumber()
        {
            string port = ZohoOAuth.GetConfigValue(ZohoOAuthConstants.MYSQL_PORT);

            if (port == null)
            {
                return("3306");
            }
            return(port);
        }
Exemplo n.º 4
0
        public static string GetDataBaseName()
        {
            string database = ZohoOAuth.GetConfigValue(ZohoOAuthConstants.MYSQL_DATABASE);

            if (database == null)
            {
                return("zohooauth");
            }
            return(database);
        }
Exemplo n.º 5
0
        public static string GetServerName()
        {
            string server = ZohoOAuth.GetConfigValue(ZohoOAuthConstants.MYSQL_SERVER);

            if (server == null)
            {
                return("localhost");
            }
            return(server);
        }
Exemplo n.º 6
0
        public static string GetMySqlPassword()
        {
            string password = ZohoOAuth.GetConfigValue(ZohoOAuthConstants.MYSQL_PASSWORD);

            if (password == null)
            {
                return("");
            }
            return(password);
        }
Exemplo n.º 7
0
        public static string GetMySqlUserName()
        {
            string userName = ZohoOAuth.GetConfigValue(ZohoOAuthConstants.MYSQL_USERNAME);

            if (userName == null)
            {
                return("root");
            }
            return(userName);
        }
 public static string GetPersistenceHandlerFilePath()
 {
     return(ZohoOAuth.GetConfigValue("oauth_tokens_file_path"));
 }