public void Authenticate(string authMethod, bool reset)
 {
     if (authMethod != null)
     {
         if (this.Settings.IntegratedSecurity)
         {
             authMethod = "authentication_windows_client";
         }
         this.authPlugin = MySqlAuthenticationPlugin.GetPlugin(authMethod, this, this.encryptionSeed);
     }
     this.authPlugin.Authenticate(reset);
 }
Example #2
0
        public void Authenticate(string authMethod, bool reset)
        {
            if (authMethod != null)
            {
                // Integrated security is a shortcut for windows auth
                if (Settings.IntegratedSecurity)
                {
                    authMethod = "authentication_windows_client";
                }

                authPlugin = MySqlAuthenticationPlugin.GetPlugin(authMethod, this, encryptionSeed);
            }
            authPlugin.Authenticate(reset);
        }