1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 16:24:04 +00:00
tenancy/assets
lukinovec 9e4f33e5c5
Identify tenants by the "Origin" header (#21)
* Add origin ID MW

* Test origin ID MW

* Test origin ID MW with early identification

* Fix code style (php-cs-fixer)

* Fix PHPStan errors

* Add getDomain() to domain ID MW, simplify origin ID MW

* Fix code style (php-cs-fixer)

* Rename InitializeTenancyByOrigin to InitializeTenancyByOriginHeader

* Add onFail test

* Stop throwing the exception in getDomain()

* FIx merge

* Improve origin identification test file

* Clean up test

---------

Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
2024-01-08 00:29:01 +01:00
..
impersonation-migrations Add remember column to to the impersonation token (#1101) 2023-04-13 02:05:26 +02:00
migrations anonymous publishable migrations (#1001) 2022-11-11 13:02:13 +01:00
resource-syncing-migrations Use polymorphic table for mapping resources to tenants (#997) 2023-02-02 06:39:35 +01:00
config.php Identify tenants by the "Origin" header (#21) 2024-01-08 00:29:01 +01:00
routes.php Stop bypassing tenancy initializition when domain is central in domain ID MW (#24) 2024-01-03 23:35:49 +01:00
TenancyServiceProvider.stub.php Update path identification and Fortify integration-related logic (#13) 2023-11-26 21:08:41 +01:00
tenant_routes.stub.php Early identification support (#1) 2022-11-20 02:31:37 +01:00