Page MenuHomePhabricator

[comm-lib] Implement FromRequest for AuthService
ClosedPublic

Authored by bartek on Jun 20 2024, 2:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 12, 11:49 AM
Unknown Object (File)
Sat, Apr 12, 5:43 AM
Unknown Object (File)
Fri, Apr 11, 9:40 PM
Unknown Object (File)
Thu, Apr 10, 11:51 PM
Unknown Object (File)
Sun, Apr 6, 12:12 AM
Unknown Object (File)
Mar 20 2025, 1:43 AM
Unknown Object (File)
Mar 14 2025, 5:33 AM
Unknown Object (File)
Mar 3 2025, 2:31 PM
Subscribers

Details

Summary

Extracted code that retrieves AuthService into a dedicated trait implementation.
Inspired by the web::Data counterpart.

Depends on D12504

Test Plan

Local backup and reports services. Commenting out .app_data(auth_service) from http/mod causes
the error message to be printed.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable