diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-10-17 00:55:48 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-10-17 10:58:27 +0200 |
commit | c94f9f5e5f41b197dcbfbdc3526b8c5e6198d786 (patch) | |
tree | d06ce53b1c897dee2e0f74e42bc6cb7d416638d7 /apps/files_external/lib/Lib/Auth | |
parent | 2d75321c2360fb20bf3705ef0b6c82ab320cc3ae (diff) | |
download | nextcloud-server-c94f9f5e5f41b197dcbfbdc3526b8c5e6198d786.tar.gz nextcloud-server-c94f9f5e5f41b197dcbfbdc3526b8c5e6198d786.zip |
Add corresponding interface to trait
Since we can't specify that we want a class implementing a trait yet in
PHP
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/files_external/lib/Lib/Auth')
-rw-r--r-- | apps/files_external/lib/Lib/Auth/AuthMechanism.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Auth/AuthMechanism.php b/apps/files_external/lib/Lib/Auth/AuthMechanism.php index 929068ea7ef..16354fa37fa 100644 --- a/apps/files_external/lib/Lib/Auth/AuthMechanism.php +++ b/apps/files_external/lib/Lib/Auth/AuthMechanism.php @@ -29,6 +29,8 @@ use OCA\Files_External\Lib\IdentifierTrait; use OCA\Files_External\Lib\StorageConfig; use OCA\Files_External\Lib\StorageModifierTrait; use OCA\Files_External\Lib\VisibilityTrait; +use OCA\Files_External\Lib\IIdentifier; +use OCA\Files_External\Lib\IFrontendDefintion; /** * Authentication mechanism @@ -50,7 +52,7 @@ use OCA\Files_External\Lib\VisibilityTrait; * - StorageModifierTrait * Object can affect storage mounting */ -class AuthMechanism implements \JsonSerializable { +class AuthMechanism implements \JsonSerializable, IIdentifier, IFrontendDefintion { /** Standard authentication schemes */ public const SCHEME_NULL = 'null'; public const SCHEME_BUILTIN = 'builtin'; |