YoVDO

ASP.NET Core: Token-Based Authentication

Offered By: LinkedIn Learning

Tags

ASP.NET Core Courses Authorization Courses JSON Web Tokens Courses Token-Based Authentication Courses Entity Framework Core Courses

Course Description

Overview

Learn about authentication and authorization, traditional and token-based authentication, and how to set up this new authentication mechanism in .NET Core applications.

Syllabus

Introduction
  • Why use exception token-based authentication?
  • What you should know
1. Getting Started with Authentication
  • Authentication vs. authorization
  • Cookie-based vs. token-based authentication
  • What is identity platform?
  • JSON Web Token
2. Token-Based Authentication
  • Setting up Entity Framework Core
  • Adding default identity tables using EF Core
  • Configuring token-based authentication
  • Adding the authentication controller
  • Registering new users using UserManager
  • Logging in users
  • Generating an access token
  • Adding the RefreshToken table
  • Generating and storing refresh tokens
  • Injecting TokenValidationParameters
  • Refreshing expired tokens
3. Role-Based Authentication
  • Seeding the database with roles
  • Adding role claims to tokens
  • Adding role authentication to a controller
  • Adding multiple roles to a controller
Conclusion
  • Next steps for learning more token-based authentication

Taught by

Ervis Trupja

Related Courses

Designing RESTful APIs
Udacity
RESTful Web Services, Java, Spring Boot, Spring MVC and JPA
Udemy
Django REST Framework Course
Treehouse
Microservicios con .NET Core 3 hasta su publicación en Azure
Udemy
Using a Token-based Approach to Build Highly Secure, Stateless, and Decoupled Applications
Amazon Web Services via AWS Skill Builder