startAuthorizationResponsePreparation



Parses input, loads the request object, and validates the request, see OpenId4VpProtocolClient.prepareAuthorizationResponse.


Validates request under policy, returning its report next to the state, see OpenId4VpHolder.startAuthorizationResponsePreparation. A rejected request is a successful result with its report and state, so the wallet can show why, answer with sendAuthnErrorResponse, or continue after the user decided to. Its wallet_nonce is consumed, so validate a request once, with this method or the one without a policy, never with both.


Parses input, loads the request object, and validates the request under policy, returning its report next to the state, see OpenId4VpProtocolClient.prepareAuthorizationResponse. A rejected request is a successful result with its report and state; the result fails only for transport errors and input that can not be parsed. The wallet_nonce is consumed, so validate a request once, with this method or the one without a policy.