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

CodeSignal

API Authentication Strategies in Kotlin

via CodeSignal

Overview

This course explores API authentication methods using Kotlin. You'll learn to implement API Key authentication, manage sessions with cookies, and interact with JWT-secured APIs. By the end, you'll understand how to securely access and interact with protected API routes.

Syllabus

  • Unit 1: Accessing Protected Routes with API Keys
    • Exploring API Request Failures Without Authentication
    • Inserting API Key into Request Headers
    • Correcting API Key Authentication Mistake in Kotlin
    • Load API Key from Environment File in Kotlin
    • Secure API POST Request in Kotlin
  • Unit 2: Delving into Session-Based Authentication
    • Sign Up Using HTTP Requests in Kotlin
    • Session-Based Authentication with OkHttp in Kotlin
    • Session-Based Authentication Bug Fixing Task
    • Improving Session Management with Logout Step
    • Managing Sessions with API Authentication in Kotlin
  • Unit 3: Introduction to JWTs: Authenticate and Access Protected Endpoints
    • Handling API Logins with JWT Tokens in Kotlin
    • Extract and Print JWT Tokens in Kotlin
    • Fixing Authentication Bug in Kotlin API Client
    • Handling JWT Authentication in Kotlin
    • JWT Authentication and API Access in Kotlin
  • Unit 4: Refreshing JWTs and Signing Out
    • Refreshing JWT Tokens in Kotlin
    • Fixing Logout Session Invalidation Issue
    • Completing the Logout Process with JWTs in Kotlin

Reviews

Start your review of API Authentication Strategies in Kotlin

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.