offerWithPreAuthnForUserForSchemes
suspend fun offerWithPreAuthnForUserForSchemes(user: OidcUserInfoExtended, credentialIssuer: String, schemes: Set<Pair<ConstantIndex.CredentialScheme, ConstantIndex.CredentialRepresentation>> = emptySet()): CredentialOffer(source)
Offer all available schemes from strategy to clients.
Callers need to encode this in CredentialOfferUrlParameters, and offer the resulting URL to clients, i.e. by displaying a QR Code that can be scanned with wallet apps.
Parameters
user
used to create the credential when the wallet app requests the credential
credentialIssuer
the public context of an CredentialIssuer
schemes
which credential configuration IDs to use in the offer. Pass an empty set to offer all known schemes.