~/talk

Black Holes and Angular Interceptors

Talkat ng-conf 2019 · 2019-05-01..05-03· [angular, web-platform]
links:none on file
slides:none on file

Claims that an Angular black hole interceptor can catch every outgoing HTTP request, clone it, and add an Authorization header so the server sees the token. Shows an auth service for set/get token, implements the HTTP Interceptor interface with an intercept(req) clone-and-modify flow, and registers interceptors in an HTTP interceptor providers array. Demonstrates it working for all requests and sketches other uses: logging, caching, 201-based notifications, and error handling.

AI-written summary · about

  1. 0:00Introduction and background
  2. 0:58The science of black holes
  3. 2:04Implementing interceptors
  4. 4:09Use cases and resources
~/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.