~/talk

JWT - To authentication & beyond!

Talkat Laracon EU 2017 · on Wednesday, 2017-08-30· [security, php]

Explains a concrete migration from DB-backed session tokens to JWTs that removed all token DB writes and cuts per-request I/O, reporting token validation under ~20ms. Recommends RSA for verification, warns about token size and cookie/query limits, and shows a PSR‑7 middleware + parser + validator design with strict typing and two validation modes (assert throws detail, validate returns boolean). Demonstrates whitelist/blacklist via Redis TTLs and a library that builds immutable, signed tokens and parses them reliably.

AI-written summary · about

  1. 0:00Start
  2. 0:46What Are Tokens
  3. 6:04Json Web Token
  4. 6:25Base64
  5. 9:11Authentication
  6. 14:23Csrf Tokens
  7. 16:31Public Claims
  8. 22:08Registered Claims
  9. 32:40Validation
  10. 33:41Validate a Token
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.