Initial moves to new API scheme.

Implements a better middleware for handling API authentication, as well
as cleaner route handling.
This commit is contained in:
Dane Everitt 2017-04-02 00:11:52 -04:00
parent 55bf26e518
commit 87530cdc01
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
20 changed files with 706 additions and 572 deletions

View file

@ -39,6 +39,7 @@ class Kernel extends HttpKernel
\Pterodactyl\Http\Middleware\LanguageMiddleware::class,
],
'api' => [
\Pterodactyl\Http\Middleware\HMACAuthorization::class,
'throttle:60,1',
'bindings',
],