Bảo mật .NET API của bạn trong 15 phút: Hướng dẫn xác thực JWT

Tác giả: Milan Jovanović
Ngày xuất bản: 2024-08-30T00:00:00
Length: 15:05

Get the source code for this video for FREE → https://the-dotnet-weekly.kit.com/secure-dotnet

Want to master Clean Architecture? Go here: https://bit.ly/3PupkOJ

Want to unlock Modular Monoliths? Go here: https://bit.ly/3SXlzSt

Join a community of 1000+ .NET developers: https://www.patreon.com/milanjovanovic

Learn how to implement secure authentication in your .NET applications using JSON Web Tokens (JWTs). This updated tutorial covers the latest features and best practices for .NET 8.

In this video, you'll discover:

- What JWTs are and why they're useful for authentication

- How to generate JWTs in .NET 8 using built-in libraries

- Implementing token-based authentication in your API

- Securing your endpoints with authorization policies

- Best practices for JWT handling and security

Whether you're new to JWTs or looking to update your existing authentication system, this tutorial will give you the knowledge to implement robust, token-based auth in your .NET projects.

Check out my courses:

https://www.milanjovanovic.tech/courses

Read my Blog here:

https://www.milanjovanovic.tech/blog

Join my weekly .NET newsletter:

https://www.milanjovanovic.tech

Chapters

0:00 What Is a JWT?

1:14 Building the JWT Token Provider

6:08 Using the TokenProvider

7:09 Examining the JWT we created

8:31 Configuring JWT Authentication

10:53 Authentication vs. Authorization

12:11 JWT Authentication with Swagger

Dịch Vào Lúc: 2025-03-26T18:22:40Z

Yêu cầu dịch (Một bản dịch khoảng 5 phút)

Phiên bản 3 (ổn định)

Tối ưu hóa cho một người nói. Phù hợp cho video chia sẻ kiến thức hoặc giảng dạy.

Video Đề Xuất