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); }
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); }