~/talk

Building APIs for developers with Identity Server 4

Talkat NDC Sydney 2018 · 2018-09-17..09-21· [security, web-platform]
name:Ben Cull
links:none on file
slides:none on file

Shows how to protect a real ASP.NET Core API with IdentityServer4 using JWT Bearer Authentication and the token endpoint so clients exchange a merchant ID + secret for access tokens. Demonstrates an SDK that retries unauthorized calls, server-side validation with FluentValidation, EF-backed Identity for users, scoped access via IdentityServer scopes and policies, projecting EF models into response DTOs, non-sequential public display IDs, and a thread-safe random ID generator for collision-free identifiers.

AI-written summary · about

  1. 0:00Introduction
  2. 4:10Demo
  3. 6:55API Design
  4. 10:00API Project Walkthrough
  5. 15:00Projections
  6. 20:00Service Endpoint
  7. 24:00Thread Safe Random
  8. 25:55Structured Logging
  9. 26:52Validation
  10. 27:40Solution Architecture
  11. 30:52Who is this for
  12. 31:27Identity
  13. 32:31User classes
  14. 35:03Payment controller
  15. 35:41Get API
  16. 36:21HTTP Client Factory
  17. 36:55Execute RealTime
  18. 37:39Post HTTP
  19. 41:55Access Token
  20. 45:45Signing Certificates
  21. 47:44Naming APIs
  22. 48:37Defining Identity Resources
  23. 51:01Client Store
  24. 51:19Merchant ID
  25. 51:58Token Type
  26. 53:55Recap
  27. 54:55Authorization
  28. 55:47API Keys
  29. 58:27Wrap up
~/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.