createAuthnRequestUrl

suspend fun createAuthnRequestUrl(walletUrl: String, responseMode: String? = null, representation: ConstantIndex.CredentialRepresentation = ConstantIndex.CredentialRepresentation.PLAIN_JWT, state: String? = uuid4().toString(), credentialScheme: ConstantIndex.CredentialScheme? = null, requestedAttributes: List<String>? = null): String

Creates an OIDC Authentication Request, encoded as query parameters to the walletUrl.

Parameters

responseMode

which response mode to request, see OpenIdConstants.ResponseModes

representation

specifies the required representation, see ConstantIndex.CredentialRepresentation

credentialScheme

which credential type to request, or null to make no restrictions

requestedAttributes

list of attributes that shall be requested explicitly (selective disclosure)