implement-auth-token-flow

Community

End-to-end Bearer token auth for Flutter apps.

Authorandrelucassvt
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Implements the complete Bearer token authentication flow for Flutter apps, covering login, token storage, automatic token injection via interceptors, proactive token refresh, and redirect to login on 401 (expired token).

Core Features & Use Cases

  • End-to-end authentication workflow for Flutter with login, token persistence, and automatic Bearer header injection.
  • Proactive token refresh before expiry and seamless retry of authenticated requests.
  • DI-driven architecture and clear separation of concerns (AuthService, Repository, DataSources, Cubits) enabling easy maintenance and testing.

Quick Start

Configure the DI and wiring so the app can login, persist tokens, auto-inject Bearer tokens, refresh before expiry, and redirect to login on 401.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: implement-auth-token-flow
Download link: https://github.com/andrelucassvt/CleanMacForDevsWeb/archive/main.zip#implement-auth-token-flow

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.