Expand description
Authentication module for Supabase client
This module provides comprehensive authentication functionality including:
- Email/password authentication
- OAuth providers (Google, GitHub, Discord, Apple, etc.)
- Phone/SMS authentication
- Magic link authentication
- Anonymous authentication
- Session management and token refresh
- Auth state change events
Structs§
- Auth
- Authentication client for handling user sessions and JWT tokens
- Auth
Event Handle - Authentication event listener handle
- Auth
Response - Response from authentication operations
- Enhanced
Phone Number - Enhanced phone number with country code support
- Enhanced
Session - Enhanced session with MFA and advanced token info
- MfaChallenge
- MFA challenge information
- MfaFactor
- MFA factor configuration
- MfaVerification
Request - MFA verification request
- OAuth
Options - OAuth sign-in options
- OAuth
Response - OAuth response with authorization URL
- Session
- Authentication session containing user and tokens
- Token
Metadata - OAuth token metadata for advanced management
- Totp
Setup Response - TOTP setup response containing QR code data
- User
- User information from Supabase Auth
Enums§
- Auth
Event - Authentication state event types
- MfaChallenge
Status - MFA challenge status
- MfaMethod
- Multi-factor authentication method types
- OAuth
Provider - Supported OAuth providers
Type Aliases§
- Auth
State Callback - Authentication state change callback