ASP.NET Core Web API + Entity Framework Core : Basic Authentication Explained - EP07

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

In this #ASP.NET #WebAPI EntityFramework Core tutorial, I am going through steps on how you can use #BasicAuthentication to authorize client's requests

Content
1. #UseAuthentication
2. #AuthenticationHandler
3. #AuthenticationSchemeOptions
4. [Authorize]
5. #AddAuthentication
6. #AuthenticateResult.Fail & Success
7. #AuthenticationHeaderValue

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

Thanks for the tutorails. It really helps to see not outdated tutorails.

amnesia
Автор

Beautifully explained. Worked seamlessly. Adding to what you explained, in postman, can use Authorization tab's Basic Auth Type to pass the credentials as well. It automatically converts to Base64 format.. Thanks CuriousDrive!

chintakawijetunga
Автор

Thank you so much for the time you put into this. It was clear, concise and straight to the point!

somebodyCEO
Автор

Thank you for this, waiting to watch the series how to consume different APIs with simple to complex authentications! cheers!

CAPS_AMERICA
Автор

Dude Thank you very much.. you deserve a lot of credit ! My API demo will be coming this week and the security part was the one thing i had trouble with Thank you again !

exiafarm
Автор

Thanks for watching, please share with your friends :)

CuriousDrive
Автор

Best video on the subject, keep them coming.

hamouz
Автор

Thanks a lot for great session and whole series❤

appa
Автор

Excellent as always with best regards
Thank you very much Fahad.

talkathiriify
Автор

Thanks a ton brother for this beautiful series. I will wait for more such series from you. Very nice explanation from basics. Thank you brother once again for your efforts.

siddheshmhatre
Автор

Thanks for this helpful tutorials, great series brother. keep going

ahmedsaad
Автор

Excellent video
How do i use token base auth2 which stores token and refresh token in database table with client id.

imranmarch
Автор

Thank you for sharing useful information

oOserkanCakmakOo
Автор

Bro i got stuck in this🥺 in this video at 18:30 at that time when you hold your cursor on the parameter it will show the encrypted value and if you hold the cursor on credentials it will show the actual value but in my case it's showing NULL in both the sides😢


Please help me out

deepakrevidagar
Автор

Hello, I have a question. You usually don't put [Authorize] attribute over the UsersController right? cuz then somebody who acceses a website for the first time would not be able to register right? Correct me if I'm wrong (or anyone who sees this question). Thanks! Again, very great material!

ioanabondoc
Автор

6:03 where can i find this settings in NOT CORE, just in webapi .net

Lmao-kelq
Автор

How did you change AuthenticationHeaderValue to be like a hyper link you said its verb or vague something?

ayavuyaxokozela
Автор

so are you retrieving a password from db in plain text? Not sure its a good idea

olegsuprun
Автор

Do you have an example of what the controller will pass back to the UI layer if it fails? Does it pass back an ActionResult or AuthenticateResult???

sethisaacks
Автор

Wonderfull, i have a questions, how do i consume this API for login?

kintanumari
visit shbcf.ru