challengeData

fun challengeData(relyingPartyIdentifier: String? = null): Result<String>

Returns the challengeData.

Return

A Result containing the JSON string with the rpId field set to relyingPartyIdentifier if specified, or the original challenge data otherwise.

Parameters

relyingPartyIdentifier

Optional relying party ID. If provided and not blank, overrides the default rpId in the challenge data if present.