From d9f773eae0bf2d158012dfe55139ffdc6b1c57ff Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 27 Feb 2018 23:56:36 +0100 Subject: 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 --- Frameworks/SPMySQLFramework/Source/SPMySQLConnectionDelegate.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'Frameworks/SPMySQLFramework/Source/SPMySQLConnectionDelegate.h') 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, -- cgit v1.2.3