DSAuthManager class

Constructors

DSAuthManager(String providerName)
Initialize with a specific provider

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

createAccount(String email, String password, {String? displayName}) Future<void>
getCurrentUser() Future<DSAuthUser>
getUser(String userId) Future<DSAuthUser>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshToken(String refreshToken) Future<String>
signIn(String username, String password) Future<void>
signOut() Future<void>
toString() String
A string representation of this object.
inherited
verifyToken([String? token]) Future<bool>

Operators

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

Static Properties

enableDebugging bool
getter/setter pair

Static Methods

clearProviders() → void
Clear all registered providers (useful for testing)
getProviderMetadata(String providerName) DSAuthProviderMetadata?
Get provider metadata by provider name
getRegisteredProviders() List<String>
Get list of registered provider names
log(String message) → void
registerProvider(String name, DSAuthProvider provider, [DSAuthProviderMetadata? metadata]) → void
Register a provider dynamically with metadata
unregisterProvider(String name) → void
Unregister a specific provider (useful for testing)