AuthService class

Constructors

AuthService()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

cleanupAuthData(String state) → void
Clean up stored verification data
getAllAuthUrls({required String callbackUrl}) → Map<String, String>
Generate OAuth URLs for all configured providers
getAppleAuthUrl({required String callbackUrl}) → String
Generate Apple OAuth URL
getAvailableProviders() → Map<String, dynamic>
Get all available OAuth providers
getCallbackUrl(String state) → String?
Get callback URL from state parameter
getCodeVerifier(String state) → String?
Verify and get code verifier for PKCE
getFacebookAuthUrl({required String callbackUrl}) → String
Generate Facebook OAuth URL
getGitHubAuthUrl({required String callbackUrl}) → String
Generate GitHub OAuth URL
getGoogleAuthUrl({required String callbackUrl}) → String
Generate Google OAuth URL
validateConfig() → Map<String, dynamic>
Validate OAuth configuration