1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-06 08:44:02 +00:00
tenancy/src/Database/Models
lukinovec 3bf2c39e1a
[4.x] Make impersonation tokens require stateful guards (#935)
* Throw an exception on attempt to create impersonation token with a non-stateful guard

* Test that impersonation tokens can only be created with a stateful guard

* Fix code style (php-cs-fixer)

* Escape backslashes in the exception's message

Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>

* Make the exception only about requiring a stateful guard

Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
2022-09-02 17:46:27 +02:00
..
Domain.php get phpstan errors down from 252 to 189 2022-08-30 05:44:23 +02:00
ImpersonationToken.php [4.x] Make impersonation tokens require stateful guards (#935) 2022-09-02 17:46:27 +02:00
Tenant.php misc improvements - stronger types, exception refactor 2022-08-26 21:35:17 +02:00
TenantPivot.php get phpstan errors down from 252 to 189 2022-08-30 05:44:23 +02:00