JWT Authentication with ASP.NET Core Web API and Blazor Server - Part 4
Автор: M Alvin Maulana
Загружено: 2024-11-09
Просмотров: 1515
In this series, we will develop the ASP.NET Core web API Authentication feature using JSON Web Token (JWT) and also be able to refresh it using the Refresh Token feature.
we also enable a Role-based authorization feature so the user can have multiple role types for authorization.
Not only that, we also have a Blazor Server project to consume this API and make the authentication work there.
💻 Get the Full Source Code!
You can download the complete source code for this tutorial right here:
🔗 https://buymeacoffee.com/alvinmlna/e/...
💰 Price: Only $5!
Series:
Intro - • JWT Authentication with ASP.NET Core Web A...
Part 1 - • JWT Authentication with ASP.NET Core Web A...
Part 2 - • JWT Authentication with ASP.NET Core Web A...
Part 3 - • JWT Authentication with ASP.NET Core Web A...
Part 4 - • JWT Authentication with ASP.NET Core Web A...
Part 5 - • JWT Authentication with ASP.NET Core Web A...
Part 6 - • JWT Authentication with ASP.NET Core Web A...
Combined Video: • [COMPLETE] JWT Authentication with ASP.NET...
Download Resource in Video:
https://drive.google.com/drive/folder...
Timestamp:
00:00 Intro
00:29 Create Blazor Server Project
01:04 Add Cookie.js
02:41 Initialize service
03:08 CookieService Implementation
05:28 Implement Access Token Service
07:27 Implement Auth Service
11:40 add Dependency Injection
14:16 Implement JWTAuthenticationStateProvider
18:52 Implement JWTAuthenticationHandler
22:59 add Dependency Injection
23:56 add EmptyLayout
24:30 Add Login UI
27:38 Update Home UI
28:24 Run 2 Project at the same time
28:48 Fix issue
30:57 Result
Support the channel and get instant access to the code so you can follow along effortlessly. 👨💻 Let's build something awesome together! 🚀
----------------------------------------------------------------------------------------------
⭐️ Contact Me (Open to Job Opportunities) ⭐️
💼 Looking for your next Blazor developer? Let's connect!
☕ Support Me & Get Free Source Code:
Buy Me a Coffee (https://buymeacoffee.com/alvinmlna)
✈️ Chat with me on Telegram:
@alvinmaulana_public
📧 Email:
[email protected]
🌍 Location:
Indonesia

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: