Total Complexity | 1 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class GlueBackendApiApplicationAuthorizationConnectorConfig extends SprykerGlueBackendApiApplicationAuthorizationConnectorConfig |
||
15 | { |
||
16 | /** |
||
17 | * Specification: |
||
18 | * - Returns a list of protected endpoints. |
||
19 | * - Structure example: |
||
20 | * [ |
||
21 | * '/example' => [ |
||
22 | * 'isRegularExpression' => false, |
||
23 | * ], |
||
24 | * '/\/example\/.+/' => [ |
||
25 | * 'isRegularExpression' => true, |
||
26 | * 'methods' => [ |
||
27 | * 'patch', |
||
28 | * 'delete', |
||
29 | * ], |
||
30 | * ], |
||
31 | * ] |
||
32 | * |
||
33 | * @return array<string, mixed> |
||
34 | */ |
||
35 | public function getProtectedPaths(): array |
||
56 |