Implement API Key Authentication in ASP.NET Core Web API

  Рет қаралды 6,529

Code Maze

Code Maze

Күн бұрын

Пікірлер: 10
@CodeMaze
@CodeMaze 8 ай бұрын
Thank you all for watching and for your support. ►► If you want to master Web API development using best practices, check out our Web API book: bit.ly/3x75ZMM ►► Also, to build great full-stack apps with Blazor, check out our course: bit.ly/3Pw3Y33
@KeondraLeke-x7p
@KeondraLeke-x7p 2 ай бұрын
This video was a life saver thank you!!!
@CodeMaze
@CodeMaze 2 ай бұрын
You are very welcome. Glad to hear that.
@leventtugaykaplan3592
@leventtugaykaplan3592 9 ай бұрын
Awesome!!!
@CodeMaze
@CodeMaze 9 ай бұрын
Thanks a lot.
@ugochukwuumerie6378
@ugochukwuumerie6378 9 ай бұрын
Awesome video. Can it be possible to pass the api key as bearer tokens on the authorization header instead of the x-api-key header during the request? Thank you
@CodeMaze
@CodeMaze 9 ай бұрын
Hi. Thank you for watching and for the kind words. Regarding your question. Yes, you can do that and for that I would use the Policy-based auth. Then inside the Authorization header of the Postman, you can send it using two ways. Either as a bearer token - but keep in mind that the header name is different and the "Bearer" will be appended to your token. Or, you can send it as an API Key (also inside the authorization header), and then you can provide the header name and the content of the API key.
@ugochukwuumerie6378
@ugochukwuumerie6378 9 ай бұрын
@@CodeMaze Thank you
@eclecticx
@eclecticx 7 ай бұрын
Is the source code on github? Link?
@CodeMaze
@CodeMaze 7 ай бұрын
Hi. All the source code for each video with some other benefits are part of the patreon package. The link is in a description of the video.
Implementing API Key Authentication in ASP.NET Core
17:57
Nick Chapsas
Рет қаралды 77 М.
This Game Is Wild...
00:19
MrBeast
Рет қаралды 189 МЛН
컴포즈커피 커피타이쿤 7번째 이야기 고객과 소통하다?!
24:36
ASP.NET Core Web API Best Practices
15:49
Code Maze
Рет қаралды 10 М.
Implementing JWT Authentication in ASP.NET Core
23:51
Nick Chapsas
Рет қаралды 42 М.
آموزش asp.net core - آپلود فایل
12:08
برنامه نویسی با دیاکد
Рет қаралды 38
How To Implement API Key Authentication In ASP.NET Core
17:13
Milan Jovanović
Рет қаралды 35 М.
Dependency Injection Deep Dive | .NET & C# Essentials
38:01
Amichai Mantinband
Рет қаралды 26 М.
Forget Controllers and Minimal APIs in .NET!
14:07
Nick Chapsas
Рет қаралды 76 М.
Implementing API Gateway With Ocelot in ASP.NET Core
13:26
Code Maze
Рет қаралды 6 М.