Skip to content

JWT Token Authentication in Android Retrofit, OkHttp, Hilt, Datastore..

Notifications You must be signed in to change notification settings

mertncu/TokenAuthentication

Repository files navigation

JWT Authentication in Android

Purpose of the Project

The aim of the project is to work on how to perform Authentication and Token Management in android applications with JWT.

Architecture Overview

  • Single Activity
  • MVVM Pattern (Model-View-ViewModel)
  • Clean Code
  • Repository Pattern

Tech Stack

  • Hilt: Dependency injection library for Android.
  • Retrofit: HTTP client for making API requests.
  • OkHttp: HTTP & HTTP/2 client used with Retrofit.
  • Jetpack Datastore: Storage solution for managing tokens.
  • LiveData: Observable data holder class for lifecycle-aware data updates.
  • Coroutines: Concurrency design pattern for asynchronous programming.

Overview

overview_jwtauth.mp4

Releases

No releases published

Packages

No packages published

Languages