createAuthnResponse

Pass in the deserialized AuthenticationRequestParameters, which were either encoded as query params, or JSON serialized as a JWT Request Object.

Exceptions thrown during wrapping the response are caught by KmmResult, exceptions during request handling result in the AuthenticationResponseResult containing the OAuth2Error.


Deprecated

Fetches the request object with remoteResourceRetriever; use OpenId4VpProtocolClient.prepareAuthorizationResponse, then finalizeAuthorizationResponse

Pass in the URL sent by the Verifier (containing the AuthenticationRequestParameters as query parameters), to create AuthenticationResponseResult that can be sent back to the Verifier.

Exceptions thrown during request parsing are caught by KmmResult, exceptions during request handling result in the AuthenticationResponseResult containing the OAuth2Error.