DescopeFlow class abstract
Authenticate a user using a flow.
Descope Flows is a visual no-code interface to build screens and authentication flows for common user interactions with your application. On mobile platforms, Flows are hosted on a webpage and are run using a sandboxed browser view. On the web, they are embedded into the running web-app.
Under the hood, this authentication method uses platform specific classes to
display the flows: ASWebAuthenticationSession
on iOS, Chrome Custom Tabs
on Android,
and Web Components
on the web.
If targeting Android you need to set up Android App Links
in order to communicate back
to the application. Read more about it in the README under the Running Flows
section.
Constructors
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
-
cancel(
) → void - Cancel the current flow.
-
exchange(
Uri incomingUri) → void - Exchange a URI for an AuthenticationResponse.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resume(
Uri incomingUri) → Future< void> -
Resumes an ongoing mobile flow after a redirect back to the app with an
incomingUri
. This is required for Magic Link only at this stage. -
start(
DescopeFlowOptions options) → Future< AuthenticationResponse> - Starts a user authentication flow.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited