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, Nov 16, 10:49 AM
Unknown Object (File)
Fri, Nov 15, 4:11 AM
Unknown Object (File)
Wed, Nov 13, 8:08 PM
Unknown Object (File)
Fri, Nov 1, 2:26 PM
Unknown Object (File)
Oct 20 2024, 2:40 PM
Unknown Object (File)
Oct 12 2024, 1:26 PM
Unknown Object (File)
Oct 12 2024, 1:26 PM
Unknown Object (File)
Oct 12 2024, 1:26 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