startHostedAuth
Opens Account Portal in a system browser and activates the session created there.
The pending flow state lives only in this process: if the system kills the app process while the browser is in the foreground, the flow is lost and its callback is ignored, matching the behavior of the SDK's OAuth/SSO redirect flows.
Return
The activated session, or a failure when creation, callback validation, redemption, or activation fails. When the user dismisses the browser or another flow supersedes this one, the failure's throwable is a HostedAuthCancellationException.
Parameters
The Account Portal screen to open first. Defaults to sign-in.
The native callback URL. Defaults to the callback registered by the SDK. Custom values require a matching intent filter in the application manifest and must be forwarded to handle.