blob: 02159661ff6e9744e136d734c38192a6a0b98cfa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Test\AppFramework\Middleware\Security\Mock;
use OCP\AppFramework\Http\Attribute\PasswordConfirmationRequired;
class PasswordConfirmationMiddlewareController extends \OCP\AppFramework\Controller {
public function testNoAnnotationNorAttribute() {
}
/**
* @TestAnnotation
*/
public function testDifferentAnnotation() {
}
/**
* @PasswordConfirmationRequired
*/
public function testAnnotation() {
}
#[PasswordConfirmationRequired]
public function testAttribute() {
}
#[PasswordConfirmationRequired]
public function testSSO() {
}
}
|