Platform Auth Token Pattern
CommunitySecure frontend auth tokens with best patterns.
Authoraaaa47080
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Frontend authentication token retrieval patterns and common mistakes to prevent bugs and insecure access.
Core Features & Use Cases
- Primary Source: In-memory AuthManager usage
- Fallbacks to localStorage for persistence
- Helper function for token retrieval
- Pi SDK authentication flow guidance
Quick Start
Follow the recommended AuthManager-first pattern to securely obtain the current user's token and fallback to localStorage if needed.
Dependency Matrix
Required Modules
None requiredComponents
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: Platform Auth Token Pattern Download link: https://github.com/aaaa47080/stock_agent/archive/main.zip#platform-auth-token-pattern Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.