Implementing API Key Authentication In Your APIs

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Do we need to register it in startup class

ataadevs
Автор

Ive always wondered, how would this be done in a real world scenario if users can generate, revoke their own keys .

Doing it by storing it in the db is mainly for server to server calls right?


What about a client facing api key authentication, whats a method to approach that? Are third party providers preffered in this case?

pt_trainer
Автор

Could you show implementing an API key for backend requests, as well as oauth for the website to use?

michaelakin
Автор

What about async calls? IAuhorizationFilter is synchronous! Custom auth scheme would be much better solution tbh

rebudyl
Автор

I prefer using a middleware, is more explicit

emfi
Автор

Please don’t write over the lines of code you are showing us
Thanks

innovationscode