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

CodeSignal

API Authentication Methods with Python

via CodeSignal

Overview

Unlock secure API communication! Learn to access protected endpoints using API keys, session cookies, and JSON Web Tokens (JWTs). Master authentication flows including login, token refresh, and proper logout procedures. Build applications that confidently integrate with any secured API.

Syllabus

  • Unit 1: Accessing Protected Routes with API Keys
    • Observing Unauthorized API Requests
    • Securing Requests with API Keys
    • Fix the API Key Header
    • Secure API Key Access
    • Secure Your API Request with POST
  • Unit 2: Delving into Session-Based Authentication
    • Registering Your First User
    • Logging In with Sessions
    • Correcting API Session Errors
    • Terminating Session Between Requests
    • Master Session-Based Authentication
  • Unit 3: Introduction to JWTs: Authenticate and Access Protected Endpoints
    • Print the Login Response Content
    • Extract and Print JWT Tokens
    • Fixing JWT Header for Authentication
    • Complete the JWT Authentication
    • Mastering JWT Authentication
  • Unit 4: Refreshing JWTs and Signing Out
    • Refresh and Secure Your Tokens
    • Fix JWT Logout Process
    • Implement Secure Logout with JWT

Reviews

Start your review of API Authentication Methods with Python

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.