submitAuthnRequest

suspend fun submitAuthnRequest(authenticationRequestParameters: AuthenticationRequestParameters, externalId: String? = null)(source)

Remembers authenticationRequestParameters to link responses to requests in validateAuthnResponse.

Parameter externalId may be used in cases the authenticationRequestParameters do not have a state parameter, e.g., when using DCAPI. Otherwise the value of AuthenticationRequestParameters.state will be used.