start abstract method

Starts a user authentication flow.

The flow presentation differs according to the target:

  • On mobile platforms - screens are presented in a sandboxed browser view that's displayed by this method call.
  • On the web - the screens are embedded into the active browser window.

The method then waits until the authentication completed successfully, at which point it will return an AuthenticationResponse as in all other authentication methods. Provide this call with a DescopeFlowOptions that contains all of the required information to run the flow on different targets.where the flow

When targeting Android: The DescopeFlowOptions.mobile.deepLinkUrl is required in order to return a result from the flow. This result URI should then be processed by the exchange function.

Implementation

Future<AuthenticationResponse> start(DescopeFlowOptions options);