diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-07 13:31:39 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-07 13:35:43 +0200 |
commit | 2b19add6b07d8339e4d6dbc63434142ca5022170 (patch) | |
tree | b2c88fa2b89fe450027f1c43b674b47e5d0eb920 /apps/files_external/lib/AppInfo/Application.php | |
parent | 6f5c7c1888bbc5a6431ca2cc701a1c58dfde4e91 (diff) | |
download | nextcloud-server-2b19add6b07d8339e4d6dbc63434142ca5022170.tar.gz nextcloud-server-2b19add6b07d8339e4d6dbc63434142ca5022170.zip |
Add SFTP auth mechanism to use a password and public key for SFTP
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_external/lib/AppInfo/Application.php')
-rw-r--r-- | apps/files_external/lib/AppInfo/Application.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/lib/AppInfo/Application.php b/apps/files_external/lib/AppInfo/Application.php index f312e065114..e372a906bab 100644 --- a/apps/files_external/lib/AppInfo/Application.php +++ b/apps/files_external/lib/AppInfo/Application.php @@ -29,6 +29,7 @@ namespace OCA\Files_External\AppInfo; +use OCA\Files_External\Lib\Auth\PublicKey\RSAPrivateKey; use \OCP\AppFramework\App; use OCP\AppFramework\IAppContainer; use \OCA\Files_External\Service\BackendService; @@ -138,6 +139,7 @@ class Application extends App implements IBackendProvider, IAuthMechanismProvide // AuthMechanism::SCHEME_PUBLICKEY mechanisms $container->query(RSA::class), + $container->query(RSAPrivateKey::class), // AuthMechanism::SCHEME_OPENSTACK mechanisms $container->query(OpenStackV2::class), |