Authorization in Asp.Net Core Identity with Web API (Role, Claim & Policy)

  Рет қаралды 1,637

CodAffection

CodAffection

Күн бұрын

Пікірлер: 13
@CodAffection
@CodAffection Ай бұрын
goo.gl/bPcyXW : Buy me a Coffee bit.ly/4cfxLpk : Prev. Video (Organize Program.cs File) bit.ly/4f0tOY5 : Part 1 (User Registration) bit.ly/403lUVC : AspNet MVC with Identity Core bit.ly/47yygKq : (Angular & .Net Core API) Tutorials bit.ly/4fSmgXP : (React & .Net Core API) Tutorials bit.ly/30fPDMg : AspNet Core MVC Tutorials
@krishanthadharmasiri7725
@krishanthadharmasiri7725 14 күн бұрын
watched all the 4 videos in the series and coded along now i have a fully functional Identity API, thanks so much 🙏
@CodAffection
@CodAffection 13 күн бұрын
Thanks for watching the series, and I appreciate the time to write your wonderful feedback.
@Guitariste82
@Guitariste82 Ай бұрын
Very good tutorial, I really appreciate all these relevant explanations.
@CodAffection
@CodAffection Ай бұрын
Glad you found it helpful.
@drmaf5000
@drmaf5000 Ай бұрын
It is a great 4-part tutorial. Many thanks.
@CodAffection
@CodAffection Ай бұрын
Thank you.
@rishukumar7586
@rishukumar7586 Ай бұрын
can you please explain the use of claim tables? when do we need them ?
@CodAffection
@CodAffection Ай бұрын
The term claims means pieces of information about a particular entity. The table 'UserClaims' will be used for storing user claims. while the 'RoleClaims' table will store claims related to roles. These tables are not used in JWT authentication but could be used in cookie-based authentication.
@rishukumar7586
@rishukumar7586 Ай бұрын
@@CodAffection can you also make a video on using claims table as well ?
@TheWho1986
@TheWho1986 Ай бұрын
First of all thanks for the great tutorials If i want to use an API Controller that inherits from ControllerBase and in order to gain access to ClaimsPrinciple's specific claim value in that case I need to use IHttpContextAccessor. Is that correct or I should use a different approach?
@CodAffection
@CodAffection Ай бұрын
Yes, you are correct. Sample code : learn.microsoft.com/en-us/answers/questions/1143595/asp-net-core-web-api-how-to-use-user-claims-in-ser
@TheWho1986
@TheWho1986 Ай бұрын
@@CodAffection Thank you very much for your response
Web API CRUD Operations Using Asp Net MVC and Entity Framework
45:55
JWT User Authentication in Asp.Net Core Identity with Web API
41:57
CodAffection
Рет қаралды 2,2 М.
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 28 МЛН
ДЕНЬ УЧИТЕЛЯ В ШКОЛЕ
01:00
SIDELNIKOVVV
Рет қаралды 3,5 МЛН
Стойкость Фёдора поразила всех!
00:58
МИНУС БАЛЛ
Рет қаралды 6 МЛН
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 21 МЛН
Next.js Middleware Crash Course || App Router Protected Routes
1:01:02
tapaScript by Tapas Adhikary
Рет қаралды 8 М.
Distributed SQLite with Litestream and LiteFS
54:37
Aaron Francis
Рет қаралды 10 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 206 М.
ASP.NET Core JWT Authentication and role-based authorization
39:17
Why Vertical LLM Agents Are The New $1 Billion SaaS Opportunities
37:06
The Problem With Microservices
17:47
Continuous Delivery
Рет қаралды 434 М.
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 28 МЛН