WebAuthn

A continuation that requires a WebAuthn (passkey) challenge to be completed.

This state provides the necessary challenge data to interact with the platform's WebAuthn/passkey APIs. There are two ways to proceed:

  1. Recommended: Use proceed with a WebAuthnCeremonyHandler to let the SDK orchestrate the platform ceremony and token exchange.

  2. Lower-level: Perform the ceremony yourself and pass the result to proceed with a WebAuthnAssertionResponse.

Parameters

context

The DirectAuthenticationContext associated with this state.

mfaContext

An optional context for MFA flows.

Properties

Link copied to clipboard

The list of authenticator enrollments returned from the Okta server.

Functions

Link copied to clipboard
fun challengeData(): ERROR CLASS: Symbol not found for Result<kotlin/String>

Retrieves the raw JSON string representing the WebAuthn challenge data.

Link copied to clipboard

Proceeds with the authentication flow by delegating the WebAuthn ceremony to the provided handler, then exchanging the assertion response for tokens.

Proceeds with the authentication flow using a pre-obtained WebAuthn assertion response.