DSAuth0EventHandler class

Handles Auth0 Authentication events and maps them to DartStream events

Constructors

DSAuth0EventHandler({required void onEvent(DSAuthEvent)})

Properties

hashCode int
The hash code for this object.
no setterinherited
onEvent → void Function(DSAuthEvent)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

emitEvent(DSAuthEventType type, Map<String, dynamic> data) → void
Emits an event with the given type and data
handleError(dynamic error) → void
handleSignIn(Map<String, dynamic> userInfo) → void
handleSignOut() → void
handleTokenRefresh(String newToken, String userId) → void
handleUserUpdate(Map<String, dynamic> userInfo) → void
initialize() → void
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