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. Flows are hosted on a webpage and are run using a sandboxed browser view.
Under the hood, this authentication method uses platform specific classes to
display the flows: ASWebAuthenticationSession
on iOS and Chrome Custom Tabs
on Android.
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
-
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 flow after a redirect back to the app with an
incomingUri
. This is required for Magic Link only at this stage. -
start(
String flowUrl, {String? deepLinkUrl}) → 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