From b64ab5fba86f55e59ebb8983a143d640d0c6a7a1 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Thu, 18 Jan 2024 10:38:37 +0100 Subject: refactor: Migrate IgnoreOpenAPI attributes to OpenAPI Signed-off-by: provokateurin --- core/Controller/ClientFlowLoginController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/Controller/ClientFlowLoginController.php') diff --git a/core/Controller/ClientFlowLoginController.php b/core/Controller/ClientFlowLoginController.php index 40b47a6685d..d6e381b3674 100644 --- a/core/Controller/ClientFlowLoginController.php +++ b/core/Controller/ClientFlowLoginController.php @@ -41,7 +41,7 @@ use OCA\OAuth2\Db\AccessTokenMapper; use OCA\OAuth2\Db\ClientMapper; use OCP\AppFramework\Controller; use OCP\AppFramework\Http; -use OCP\AppFramework\Http\Attribute\IgnoreOpenAPI; +use OCP\AppFramework\Http\Attribute\OpenAPI; use OCP\AppFramework\Http\Attribute\UseSession; use OCP\AppFramework\Http\Response; use OCP\AppFramework\Http\StandaloneTemplateResponse; @@ -59,7 +59,7 @@ use OCP\Security\ICrypto; use OCP\Security\ISecureRandom; use OCP\Session\Exceptions\SessionNotAvailableException; -#[IgnoreOpenAPI] +#[OpenAPI(scope: OpenAPI::SCOPE_IGNORE)] class ClientFlowLoginController extends Controller { public const STATE_NAME = 'client.flow.state.token'; -- cgit v1.2.3