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

CodeSignal

API Authentication Methods with C++

via CodeSignal

Overview

In this course, you will learn how to work with various API authentication methods using C++. You’ll explore the basics of API Key authentication, manage sessions using cookies, and interact with APIs using JSON Web Tokens (JWTs). By the end of this course, you’ll be able to access and interact with protected APIs securely.

Syllabus

  • Unit 1: API Authentication Methods with C++
    • Explore API Request Failure Without Authentication
    • API Key Authentication in C++
    • Fixing API Key Authentication in C++
    • Load API Key from Environment File in C++
    • Secure POST Request with API Key in C++
  • Unit 2: Session-Based Authentication in RESTful APIs with C++
    • User Signup with HTTP POST Requests in C++
    • Session-Based Authentication with HTTP Client in C++
    • Session-Based Authentication in C++
    • Improving Session Management by Implementing Logout Functionality
    • Complete Workflow for Managing API Sessions in C++
  • Unit 3: Introduction to JWTs: Authenticate and Access Protected Endpoints with C++
    • Handling API Logins with JWT Tokens in C++
    • Extracting and Printing JWT Tokens After Successful Login
    • Fix the Authentication Bug for Accessing Protected Endpoint
    • Using JWT Authentication in a C++ API Client
    • JWT Authentication and API Access Task
  • Unit 4: Refreshing JWTs and Signing Out with C++
    • Refreshing JWT Tokens in C++
    • Fixing Logout Session Invalidation
    • Implementing Secure Logout with JWT Session Management

Reviews

Start your review of API Authentication Methods with C++

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.