create Authn Request Url With Request Object
suspend fun createAuthnRequestUrlWithRequestObject(walletUrl: String, responseMode: String? = null, representation: ConstantIndex.CredentialRepresentation = ConstantIndex.CredentialRepresentation.PLAIN_JWT, state: String? = uuid4().toString(), credentialScheme: ConstantIndex.CredentialScheme? = null, requestedAttributes: List<String>? = null): KmmResult<String>
Creates an OIDC Authentication Request, encoded as query parameters to the walletUrl, containing a JWS Authorization Request (JAR, RFC9101), containing the request parameters itself.
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
requested Attributes
list of attributes that shall be requested explicitly (selective disclosure)