~/talk

Angular's User Authentication Tool Belt

Talkat ngAtlanta Conf 2018 · on Thursday, 2018-02-01· [security]
slides:none on file

Concrete implementation of a JSON Web Token login flow: credentials exchange for a signed token, choice of localStorage vs cookie storage, and attaching the token to requests with an HTTP interceptor that clones requests, adds an Authorization header, and catches 401s to trigger a redirect. Route guards implement canActivate and canLoad checks (including role/scope checks) to prevent UI load or lazy module download. Working example repository and a MEAN-series demo exist to try these patterns.

AI-written summary · about

  1. 0:00Introduction
  2. 2:08Authentication characteristics
  3. 3:33Single page applications
  4. 10:58Route guards
~/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.