|JSONResponse, array{}> * * 200: CSRF token returned * 403: Strict cookie check failed * * @NoTwoFactorRequired */ #[PublicPage] #[NoCSRFRequired] #[FrontpageRoute(verb: 'GET', url: '/csrftoken')] #[OpenAPI(scope: OpenAPI::SCOPE_DEFAULT)] public function index(): JSONResponse { if (!$this->request->passesStrictCookieCheck()) { return new JSONResponse([], Http::STATUS_FORBIDDEN); } $requestToken = $this->tokenManager->getToken(); return new JSONResponse([ 'token' => $requestToken->getEncryptedValue(), ]); } } ngeBars2'>Temp_ChangeBars2 Apache XML Graphics FOP: https://github.com/apache/xmlgraphics-fopwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/LICENSE
blob: d38fbeb9f6f102ee357f9478482ba3ba5ad8216d (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
38
39
40
41
42
43
44
45
46
47
48