DescopeFlowCallbacks class

The DescopeFlowCallbacks class is used to communicate Flow lifecycle events back to the caller.

Constructors

DescopeFlowCallbacks({void onReady()?, void onSuccess(AuthenticationResponse)?, void onError(DescopeException error)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
onError ↔ void Function(DescopeException error)?
Called with a DescopeException when a flow has encountered an error. Typically a flow will not to be restarted at this point.
getter/setter pair
onReady ↔ void Function()?
Called when a flow is fully loaded and ready to be displayed
getter/setter pair
onSuccess ↔ void Function(AuthenticationResponse)?
Called with an AuthenticationResponse when a flow has completed successfully. Typically create a DescopeSession and manage it using Descope.sessionManager
getter/setter pair
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