create Authn Request As Request Object
suspend fun createAuthnRequestAsRequestObject(responseMode: String? = null, representation: ConstantIndex.CredentialRepresentation = ConstantIndex.CredentialRepresentation.PLAIN_JWT, state: String? = uuid4().toString(), credentialScheme: ConstantIndex.CredentialScheme? = null, requestedAttributes: List<String>? = null): KmmResult<AuthenticationRequestParameters>
Creates an JWS Authorization Request (JAR, RFC9101), wrapping the usual AuthenticationRequestParameters.
Parameters
response Mode
which response mode to request, see OpenIdConstants.ResponseModes
representation
specifies the required representation, see ConstantIndex.CredentialRepresentation
state
opaque value which will be returned by the OpenId Provider and also in AuthnResponseResult
credential Scheme
which credential type to request, or null to make no restrictions
requested Attributes
list of attributes that shall be requested explicitly (selective disclosure)