sendAuthnErrorResponse
suspend fun sendAuthnErrorResponse(error: Throwable, state: AuthorizationResponsePreparationState)(source)
Sends an error response with the appropriate method. Returns nothing as we don't expect a useful response from the remote verifier.
suspend fun sendAuthnErrorResponse(error: Throwable, request: RequestParametersFrom<AuthenticationRequestParameters>)(source)
Deprecated
Use sendAuthnErrorResponse with AuthorizationResponsePreparationState parameter