startAuthorizationResponsePreparation

Validates the AuthenticationRequestParameters from params. The verifier's keys are the jwks of its client_metadata, else those from lookupJsonWebKeysForClient; a jwks_uri is ignored, as OpenID4VP 1.0, 5.1 defines only jwks, and requires other metadata parameters to be ignored. Clients need to inform the user, get consent, and resume in finalizeAuthorizationResponse.

Exceptions thrown during request parsing are caught by KmmResult,


Validates params under policy, see RequestObjectChecks, and prepares the response like the overload without a policy. The preparation state is returned also for a rejected request, e.g. to show the user why, or to answer the verifier with an error from finalizeAuthorizationResponse: check the decision of AuthorizationRequestValidation.validationReport before presenting anything.

Fails only if the request can not be prepared at all, e.g. if its presentation request can not be loaded.


Deprecated

Fetches the request object with remoteResourceRetriever; use OpenId4VpProtocolClient.prepareAuthorizationResponse

Parses the AuthenticationRequestParameters from input, fetching the request object passed by reference in request_uri, and validates it, see the overload taking parsed parameters. Clients need to inform the user, get consent, and resume in finalizeAuthorizationResponse.

Exceptions thrown during request parsing are caught by KmmResult,