create

fun create(rpId: String, rpName: String, timeout: Long = OZConstants.WEBAUTHN_TIMEOUT_MS): AppleWebAuthnProvider

Creates an AppleWebAuthnProvider for the given relying party configuration.

This is a convenience factory method. On iOS, the rpId must match an associated domain configured in the app's entitlements. On macOS, the rpId must match a domain associated with the app.

Return

A configured AppleWebAuthnProvider instance

Parameters

rpId

The WebAuthn Relying Party identifier (domain)

rpName

Human-readable name for the relying party

timeout

Operation timeout in milliseconds (default: OZConstants.WEBAUTHN_TIMEOUT_MS)