offerWithAuthorizationCodeForSchemes
suspend fun offerWithAuthorizationCodeForSchemes(credentialIssuer: String, schemes: Set<Pair<ConstantIndex.CredentialScheme, ConstantIndex.CredentialRepresentation>> = emptySet()): CredentialOffer(source)
Offer some credential identifiers from strategy to clients with auth-code flow.
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
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.