credentialRequest
fun credentialRequest(request: OpenId4VciClient.CredentialRequest, issuerMetadata: IssuerMetadata, tokenResponse: TokenResponseParameters, credentialFormat: SupportedCredentialFormat): HttpExchange<List<ReceivedCredential>>(source)
Sends request, as created by createCredential, to the IssuerMetadata.credentialEndpointUrl with the access token from tokenResponse, and decodes the (possibly encrypted) response in credentialFormat with OpenId4VciClient.decodeCredentialResponse. Validates nothing: prepare the storage of each ReceivedCredential with ReceivedCredential.prepareCredentialStorage.
Sends Credential{1,2}, i.e. retries once if the credential issuer asks for a DPoP nonce.