misc_pterodactyl-panel/app/Http/Middleware/Api
DaneEveritt e313dff674
Massively simplify API binding logic
Changes the API internals to use normal Laravel binding which automatically supports nested-models and can determine their relationships. This removes a lot of confusingly complex internal logic and replaces it with standard Laravel code.

This also removes a deprecated "getModel" method and fully replaces it with a "parameter" method that does stricter type-checking.
2022-05-22 14:10:01 -04:00
..
Application Use more standardized phpcs 2021-01-23 12:33:34 -08:00
Client Massively simplify API binding logic 2022-05-22 14:10:01 -04:00
Daemon Fix 401 error typo (#3393) 2021-06-03 13:35:51 -07:00
AuthenticateIPAccess.php Use more standardized phpcs 2021-01-23 12:33:34 -08:00
AuthenticateKey.php [security] ensure session is only for that request when authenticating user API key 2022-01-19 21:09:17 -05:00
HandleStatelessRequest.php Fix session management on client API requests; closes #3727 2021-11-03 20:51:39 -07:00
IsValidJson.php Massively simplify API binding logic 2022-05-22 14:10:01 -04:00