Skip to content

Instantly share code, notes, and snippets.

@RredCat
Created July 22, 2019 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RredCat/169f273dadd9c8ba87baaa56fd29c09d to your computer and use it in GitHub Desktop.
Save RredCat/169f273dadd9c8ba87baaa56fd29c09d to your computer and use it in GitHub Desktop.
Startup for FA
services.AddAuthentication(o => o.AddScheme("api", a => a.HandlerType = typeof(TokenHandler)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment