init

open override fun init(input: JsonObject): Collector<JsonObject>

Initializes the collector with authentication request options.

Extracts and transforms the public key credential request options from the input JSON, preparing them for use with the Android Credential Manager.

Return

This collector instance for method chaining

Parameters

input

The JSON object containing collector initialization data

Throws

if publicKeyCredentialRequestOptions is missing