Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Generating Authentication Tokens in Django Rest Framework

CodingWithMitch via YouTube

Overview

Learn how to implement Token Authentication in Django Rest Framework through this comprehensive tutorial video. Explore the concept of authentication, understand different authentication classes, and discover how to use them effectively. Follow along as the instructor demonstrates setting up authentication schemes, configuring Rest Framework declarations, and working with class-based views and annotations. Dive into Token Authentication, learn to generate tokens using various methods, and test your implementation. Cover topics such as creating post-save receivers, generating tokens through the admin interface and API, and handling token generation during user login. Gain insights into permissions and enhance your Django Rest Framework skills with practical examples and explanations.

Syllabus

Intro
Django Rest Documentation
Basic Authentication
Setting the Authentication Scheme
Setting the Rest Framework Declaration
ClassBased View
Annotations
Authentication Class
Token Authentication
Generating Tokens
Creating PostSave Receiver
Testing
Generating tokens through the admin
Generating tokens through the API
Generating tokens when a user logs in
Permissions

Taught by

CodingWithMitch

Reviews

Start your review of Generating Authentication Tokens in Django Rest Framework

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.