File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111
1212readonly class EncryptionListener
1313{
14+ /**
15+ * @param Connection $connection unused, but this causes it to be loaded by the container
16+ */
1417 public function __construct (
1518 private Connection $ connection ,
1619 private Encryption $ encryption ,
1720 ) {
1821 }
1922
23+ /**
24+ * Configure the custom encrypted text type for Doctrine at the start of every request (and after the container is built).
25+ */
2026 #[AsEventListener(RequestEvent::class)]
2127 public function configureDoctrineEncryptedTextType (): void
2228 {
Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ public function __construct(
2525 ) {
2626 }
2727
28+ /**
29+ * Deny access to all pages with IsGrantedAccess unless public access is enabled or the user is logged in.
30+ */
2831 #[AsEventListener]
2932 public function checkAccessIsGranted (ControllerEvent $ event ): void
3033 {
@@ -35,6 +38,9 @@ public function checkAccessIsGranted(ControllerEvent $event): void
3538 }
3639 }
3740
41+ /**
42+ * Validate authorization for requests using an access token.
43+ */
3844 #[AsEventListener]
3945 public function checkAccessTokenIsValid (CheckPassportEvent $ event ): void
4046 {
You can’t perform that action at this time.
0 commit comments