nextcloud/lib/private/AppFramework/Middleware
Louis Chemineau ff5a03e890
feat: Close sessions created for login flow v2
Sessions created during the login flow v2 should be short lived to not leave an unexpected opened session in the browser.

This commit add a property to the session object to track its origin, and will close it as soon as possible, i.e., on the first non public page request.

Signed-off-by: Louis Chemineau <louis@chmn.me>

[skip ci]

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:38:04 +01:00
..
PublicShare techdebt(DI): Use public IThrottler interface which exists since Nextcloud 25 2023-08-28 15:50:45 +02:00
Security feat: Use inline password confirmation in external storage settings 2025-02-11 11:56:30 +01:00
AdditionalScriptsMiddleware.php add separate event for rendering login page template 2023-08-17 10:57:56 +02:00
CompressionMiddleware.php Refactors "strpos" calls in lib/private to improve code readability. 2023-05-15 15:17:19 +03:30
FlowV2EphemeralSessionsMiddleware.php feat: Close sessions created for login flow v2 2025-03-03 11:38:04 +01:00
MiddlewareDispatcher.php techdebt(Middleware): Add more specific array types so its clickable in IDEs 2023-11-30 12:27:08 +01:00
NotModifiedMiddleware.php Move DateTime::RFC2822 to DateTimeInterface::2822 2021-06-23 15:30:43 +02:00
OCSMiddleware.php composer run cs:fix 2023-01-20 11:45:08 +01:00
SessionMiddleware.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00