startAsync

Starts the direct authentication flow asynchronously.

Return

A CompletableFuture that completes with the resulting DirectAuthenticationState.

Parameters

loginHint

A hint about the user's identity (e.g., username or email).

primaryFactor

The initial authentication factor (e.g., PrimaryFactor.Password).