aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework/Source/SPMySQLConnectionDelegate.h
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2018-02-27 23:56:36 +0100
committerMax <post@wickenrode.com>2018-02-27 23:56:36 +0100
commitd9f773eae0bf2d158012dfe55139ffdc6b1c57ff (patch)
treebab70669649543698a50fae1d83c30c84daf7a6e /Frameworks/SPMySQLFramework/Source/SPMySQLConnectionDelegate.h
parent219d049c61d5588e5519171bd149fb2aa91351f3 (diff)
downloadsequelpro-d9f773eae0bf2d158012dfe55139ffdc6b1c57ff.tar.gz
sequelpro-d9f773eae0bf2d158012dfe55139ffdc6b1c57ff.tar.bz2
sequelpro-d9f773eae0bf2d158012dfe55139ffdc6b1c57ff.zip
Manually roll back all changes for #2979
Those will be moved to a different branch for the time being since other stuff needs to be changed first
Diffstat (limited to 'Frameworks/SPMySQLFramework/Source/SPMySQLConnectionDelegate.h')
-rw-r--r--Frameworks/SPMySQLFramework/Source/SPMySQLConnectionDelegate.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnectionDelegate.h b/Frameworks/SPMySQLFramework/Source/SPMySQLConnectionDelegate.h
index f32be742..1e238c12 100644
--- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnectionDelegate.h
+++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnectionDelegate.h
@@ -62,18 +62,15 @@
- (void)showErrorWithTitle:(NSString *)title message:(NSString *)message;
/**
- * Requests the password for the connection.
+ * Requests the keychain password for the connection.
* When a connection is being made to a server, it is best not to
* set the password on the class; instead, it should be kept within
- * the secure store (Keychain), and the other connection details (user, host)
+ * the secure store, and the other connection details (user, host)
* can be used to look it up and supplied on demand.
*
- * NOTE: This will be called on the thread SPMySQL is running on (which *MAY* be a background thread)!
- *
* @param connection The connection instance to supply the password for
- * @param pluginName The auth plugin libmysqlclients wants to use the password with
*/
-- (NSString *)passwordForConnection:(id)connection authPlugin:(NSString *)pluginName;
+- (NSString *)keychainPasswordForConnection:(id)connection;
/**
* Notifies the delegate that no underlying connection is available,