diff options
author | provokateurin <kate@provokateurin.de> | 2024-06-07 11:34:40 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-07-01 14:41:20 +0200 |
commit | 5aefdc399eb17a86f3c2b59713ca6448479f99fd (patch) | |
tree | 2da8269d8669db9ee05c677a0d8c59e1866994ce /lib/public | |
parent | beececf66068f57c416225efcde9b44ce5c2e835 (diff) | |
download | nextcloud-server-5aefdc399eb17a86f3c2b59713ca6448479f99fd.tar.gz nextcloud-server-5aefdc399eb17a86f3c2b59713ca6448479f99fd.zip |
feat(AppFramework): Add ExAppRequired attribute
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/AppFramework/Http/Attribute/ExAppRequired.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Http/Attribute/ExAppRequired.php b/lib/public/AppFramework/Http/Attribute/ExAppRequired.php new file mode 100644 index 00000000000..eb18da8027c --- /dev/null +++ b/lib/public/AppFramework/Http/Attribute/ExAppRequired.php @@ -0,0 +1,21 @@ +<?php + +declare(strict_types=1); + +/** + * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + +namespace OCP\AppFramework\Http\Attribute; + +use Attribute; + +/** + * Attribute for controller methods that can only be accessed by ExApps + * + * @since 30.0.0 + */ +#[Attribute] +class ExAppRequired { +} |