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

CodeSignal

API Authentication Methods with Java

via CodeSignal

Overview

In this course, you will learn how to work with various API authentication methods using Java. 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: Integrating API Keys in Java Using HttpClient
    • Exploring API Requests Without Authentication
    • Adding API Key Authentication to HTTP Requests
    • Correcting API Key Authentication Mistake in Java
    • Using Environment Variables to Secure API Keys in Java Application
    • Secure API POST Request in Java
  • Unit 2: Session-Based Authentication with Java's HttpClient and Gson
    • Sign Up with HTTP Requests in Java
    • Session Management with HttpClient in Java
    • Session-Based Authentication and API Request Correction
    • Improving Session Management with Logout Functionality
    • Complete Workflow for Managing Sessions Manually in Java
  • Unit 3: Introduction to JWT Authentication with Java's HttpClient and Gson
    • Handling API Logins with JWT Tokens in Java
    • Extract and Print JWT Access and Refresh Tokens
    • Fixing Access Token Authentication Bug
    • Handling JWT Authentication in Java
    • JWT Authentication and Accessing Protected API Endpoint
  • Unit 4: Refreshing JWTs and Signing Out with Java's HttpClient and Gson
    • Refreshing JWT Tokens in Java
    • Fixing Logout by Session Invalidation
    • Completing the Logout Process with JWTs in Java

Reviews

Start your review of API Authentication Methods with Java

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.