createAuthnResponse
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.
suspend fun createAuthnResponse(request: RequestParametersFrom<AuthenticationRequestParameters>): KmmResult<AuthenticationResponseResult>(source)
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.