create Authn Request
fun createAuthnRequest(responseMode: String? = null, state: String? = uuid4().toString()): AuthenticationRequestParameters
Creates AuthenticationRequestParameters, to be encoded as query params appended to the URL of the Wallet, e.g. https://example.com?repsonse_type=... (see createAuthnRequestUrl)
Callers may serialize the result with result.encodeToParameters().formUrlEncode()
Parameters
response Mode
which response mode to request, see OpenIdConstants.ResponseModes
state
opaque value which will be returned by the OpenId Provider and also in AuthnResponseResult