challengeAsync
Initiates an MFA challenge with the specified secondary factor.
Return
A CompletableFuture that completes with the next DirectAuthenticationState.
Parameters
secondaryFactor
The SecondaryFactor to use for the challenge.
fun challengeAsync(secondaryFactor: SecondaryFactor, challengeTypesSupported: List<ChallengeGrantType>): CompletableFuture<DirectAuthenticationState>
Initiates an MFA challenge with the specified secondary factor and supported challenge types.
Return
A CompletableFuture that completes with the next DirectAuthenticationState.
Parameters
secondaryFactor
The SecondaryFactor to use for the challenge.
challengeTypesSupported
The list of ChallengeGrantTypes the client supports.