Commit Graph

77 Commits

Author SHA1 Message Date
Dries Vints ecf7b06c4b
Replace Laravel CORS package (#5825) 2022-02-22 09:42:30 -06:00
Nuno Maduro 8a62ca2633
Improves generic types on the skeleton (#5740) 2021-12-03 09:04:57 -06:00
Bram 7bf32280e2
[8.x] Add types to arrays in boilerplate (#5738)
* Add more specific types

* Update Authenticate.php

* Update Authenticate.php
2021-12-02 14:40:24 -06:00
Taylor Otwell 226d1bfc3c
[8.x] Sanctum (#5663)
* initial sanctum poc

* add files

* remove token
2021-08-11 13:44:34 -05:00
Taylor Otwell b7cde8b495 comment trust hosts 2020-12-10 07:14:14 -06:00
Daniel Coulbourne f6f772ba54
Uncomment TrustHosts middleware to enable it by default. (#5477) 2020-11-26 08:38:56 -06:00
Taylor Otwell ced3e50bca use new rate limiting 2020-08-27 13:36:32 -05:00
Taylor Otwell e471dd1cf0 rename class 2020-07-14 15:57:11 -05:00
Taylor Otwell a14a1208ad remove alias that isnt needed 2020-07-14 15:48:22 -05:00
Taylor Otwell 5639581ea5 add basic trust host middleware 2020-05-18 16:50:22 -05:00
Taylor Otwell 0bec06cd45 formatting 2019-12-27 08:56:53 -06:00
Barry vd. Heuvel bee0e8c94c Add HandleCors middleware 2019-12-24 22:28:20 +01:00
Graham Campbell 583d1fa773 [7.x] Remove register in auth provider (#5182)
* Remove register in auth provider

* Update AuthServiceProvider.php

* Update Kernel.php
2019-12-19 09:36:06 -06:00
Taylor Otwell 7d70bfe828
Utilize Authentication Middleware Contract (#5181)
* adjust auth middleware to point to contract

* remove middleware priority
2019-12-18 13:44:16 -06:00
Taylor Otwell 140d4d9b0a use class name to be consistent with web middleware 2019-12-18 12:02:46 -06:00
Dries Vints ba3aae6c33
Implement password confirmation 2019-10-08 13:45:40 +02:00
Dries Vints 0dd31baf2a
Merge branch 'master' into develop 2019-07-25 00:49:45 -04:00
Gergő D. Nagy 7c9e5ea412 [5.9] Add ThrottleRequests to the priority array (#5057)
* add ThrottleRequests to the priority array

* Move ThrottleRequests under Authenticate middleware
2019-07-12 07:59:55 -06:00
Gary Green e71f50f664 Move TrustProxies to highest priority - fixes maintenance mode ip whitelist if behind proxy e.g. Cloudflare (#5055) 2019-07-10 09:11:28 -06:00
Carl Olsen 6d75f17af5
Update Kernel.php 2018-11-20 11:19:31 -05:00
Taylor Otwell 9838f79d2c wip 2018-09-08 11:06:07 -05:00
Matt Hollis 04960ed8be
Update Kernel.php 2018-09-07 16:24:35 -05:00
Matt Hollis 7f6ec77e69
Update Kernel.php
StyleCI fixes
2018-09-07 16:22:40 -05:00
Matt Hollis 0eb1a8f3bc
Update Kernel.php 2018-09-07 16:20:54 -05:00
Matt Hollis b354a35272
Update HttpKernel to use Authenticate middleware under App namespace
The `Authenticate` middleware is intended to be called in a specific order before applying developer-listed middleware. In 5.7, it was changed to `App\Http\Middleware\Authenticate` but the priority still lists it as living under `Illuminate\Auth\Middleware\Authenticate`.

This proposed fix moves that priority array to `App\Http\Kernel` and changes the reference to the userland class.
2018-09-07 15:58:40 -05:00
Taylor Otwell bf9836a785 Merge branch 'master' into develop 2018-07-19 07:48:44 -05:00
Tobias 6bd50e79a9 Adding boilerplate maintenance middleware with excepted URIs array 2018-07-12 01:13:44 +02:00
Taylor Otwell cd594395d9 add signed 2018-06-21 11:13:00 -05:00
Taylor Otwell 69e92d6454 initial pass 2018-06-21 11:08:49 -05:00
Taylor Otwell 4369e9144c add middleware 2018-03-14 12:40:35 -05:00
Taylor Otwell a14e62325c customizable redirect on auth failure 2018-03-13 16:09:47 -05:00
Taylor Otwell dabd0686be
Update Kernel.php 2017-12-18 19:30:09 -06:00
Taylor Otwell bcaeb32430
Update Kernel.php 2017-12-18 19:29:49 -06:00
Kévin Dunglas 6e9c0c8852
Add the SetCacheHeaders middleware 2017-12-18 16:31:33 +01:00
Taylor Otwell e23a1d284f add trust proxy middleware 2017-03-29 10:05:16 -05:00
Taylor Otwell 54c5e1585a Trim and convert strings to nulls. 2017-01-17 15:35:36 -06:00
Taylor Otwell 590257fbf6 Comment out by default. 2017-01-16 11:08:54 -06:00
Taylor Otwell 01ad31584b add auth session middleware to web group 2017-01-16 11:08:54 -06:00
Taylor Otwell 077d404c5f list post check middleware 2016-12-19 12:36:33 -06:00
Joseph Silber 4f018159b8 Update can middleware to new namespace 2016-05-29 22:27:14 -04:00
Taylor Otwell 19f8537829 fix namespace 2016-05-26 13:53:39 -05:00
Joseph Silber 945052508f Use the Authenticate middleware from core 2016-05-26 13:07:11 -04:00
Taylor Otwell c332ad9582 fix typo 2016-05-25 09:24:11 -05:00
Graham Campbell 728151f5de Applied fixes from StyleCI 2016-05-13 14:19:42 -04:00
Graham Campbell 332731f88b Added the new bindings middleware 2016-05-13 19:19:27 +01:00
Juan Martinez 0d8e71cd92 Update Kernel.php 2016-04-01 16:00:36 -05:00
Graham Campbell 541e66789b Fixed typo 2016-04-01 20:27:17 +01:00
Joseph Silber 39ba051a78 Add support for the authorize middleware and AuthorizesRequests trait 2016-03-30 11:58:14 -04:00
Taylor Otwell 171de278d7 Note of explanation. 2015-12-13 14:31:22 -06:00
Taylor Otwell a98759b264 Applied fixes from StyleCI 2015-12-11 17:50:16 -05:00