You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changed UserInfo from dict to typed Pydantic model with field name mappings (e.g., sub → user_id)
Added UserInfoRole model for typed role data
Renamed req parameter to request for WristbandAuth methods
New Features
Built-in session management: Added SessionMiddleware with encrypted cookie-based sessions
CSRF protection: Automatic token generation and validation via Synchronizer Token Pattern
Route protection: New create_session_auth_dependency() method for FastAPI dependency-based auth with automatic token refresh
Session/Token endpoints: Added get_session_response() and get_token_response() helpers for Wristband frontend SDK integration, along with SessionResponse and TokenResponse Pydantic models
Documentation
Updated README with complete session management guide
Added migration guide from v0.x to v1.x
Expanded callback() documentation with UserInfo/UserInfoRole model tables