SupabaseAuth class

SupabaseAuth

Properties

accessToken Future<String?>
no setter
hasAccessToken Future<bool>
no setter
hashCode int
The hash code for this object.
no setterinherited
localStorage LocalStorage
The LocalStorage instance used to persist the user session.
no setter
onAuthChange Stream<AuthChangeEvent>
Listen to auth change events.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Dispose the instance to free up resources
if _authCallbackUrlHost not init, we treat all deeplink as auth callback
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseUriParameters(Uri uri) Map<String, String>
Parse Uri parameters from redirect url/deeplink
ATTENTION: getInitialLink/getInitialUri should be handled ONLY ONCE in your app's lifetime, since it is not meant to change throughout your app's life.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance SupabaseAuth
A SupabaseAuth instance.
no setter

Static Methods

initialize({LocalStorage localStorage = const HiveLocalStorage(), String? authCallbackUrlHostname}) Future<SupabaseAuth>
Initialize the SupabaseAuth instance.