start
abstract suspend fun start(loginHint: String, primaryFactor: PrimaryFactor): DirectAuthenticationState
Starts the direct authentication flow with an initial factor.
This is the entry point for authenticating a user. Depending on the server's policy and the provided factor, the flow may complete in a single step or require additional steps, such as providing a secondary factor.
Return
The DirectAuthenticationState of the flow
Parameters
loginHint
A hint to the authorization server about the user's identity, such as a username or email address.
primaryFactor
The initial authentication factor to use (e.g., a PrimaryFactor.Password).