PHP OpenSwoole HTTP Server - API Part 2 - JWT Authorization
1 year ago
15
9 minutes of PHP OpenSwoole HTTP Server - API Part 2 - JWT Authorization
At this second part we will create an authorization layer for our API using JWT standard.
Source: https://github.com/lotharthesavior/sample-swoole/tree/42fd2fd1528016179c33f0ee76065fbc1b6e90e1
Previous part: https://youtu.be/1u5Gv-CkNzY
- Part 1: Refactor for our Commands Structure
- Part 2: JWT Authorization (https://youtu.be/O8EVJrKtbGg?t=573)
Packages added here:
- firebase/php-jwt (https://github.com/firebase/php-jwt)
References:
Symfony Console: https://symfony.com/doc/current/components/console.html
JWT RFC (7519): https://datatracker.ietf.org/doc/html/rfc7519
Loading comments...
-
11:46
RealitySurvival
6 hours agoRussia Issues Dire Warning! Tac Nukes Are On The Table!
1.54K4 -
41:56
Kimberly Guilfoyle
1 day agoFrom the Courtroom to Campus, Left-Wing Corruption Spirals Out of Control, Live with Kash Patel & Eyal Yakoby | Ep. 123
60.8K72 -
LIVE
SNEAKO
3 hours agoSNEAKO X MYRON DESKTOP
9,861 watching -
2:25:29
Price of Reason
11 hours agoDisney TUMBLES, Gamers Win BIG, Superman DISAPPOINTS, NEW Game of Thrones Spinoff w/ Dreadroberts
9.16K -
LIVE
Jerry After Dark
8 hours agoJerry After Dark: Boston Jerathon
1,608 watching -
2:11:40
Kim Iversen
8 hours agoRUMBLE BAN ALERT: Russia Cracks down on Free Speech | Israel PISSES OFF Egypt and US After Rafah Border Seizure
53.2K113 -
LIVE
Akademiks
7 hours agoBreaking: Drake House Shot Up by Goons. Kendrick Lamar Got another Coming?? Drake finna SPIN BACK?
5,134 watching -
1:26:23
The Anthony Rogers Show
16 hours agoEpisode 306 - Theresa Cheung
29.5K3 -
1:25:45
Glenn Greenwald
10 hours agoTikTok Constitutionally Challenges Forced Sale, Lawmakers Exploit Holocaust to Feed Moral Panic over Antisemitism; PLUS: The Ozempic Craze with author Johann Hari | SYSTEM UPDATE #268
77.1K143 -
2:20:16
WeAreChange
8 hours agoAstraZeneca Covid Shot Recalled Worldwide! Rushed Gene Therapy Revealed!
61.8K54