createAuthnRequestAsRequestObject

suspend fun createAuthnRequestAsRequestObject(responseMode: String? = null, state: String? = uuid4().toString()): AuthenticationRequestParameters

Creates an JWS Authorization Request (JAR, RFC9101), wrapping the usual AuthenticationRequestParameters.

Parameters

responseMode

which response mode to request, see OpenIdConstants.ResponseModes

state

opaque value which will be returned by the OpenId Provider and also in AuthnResponseResult