Skip to content
This repository was archived by the owner on Nov 20, 2023. It is now read-only.

Commit 0dec24d

Browse files
refactor: remove annotation
1 parent 1de2abe commit 0dec24d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/commonMain/kotlin/id/walt/oid4vc/providers/OpenIDCredentialWallet.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ abstract class OpenIDCredentialWallet<S: SIOPSession>(
165165
} ?: throw CredentialOfferError(credentialOfferRequest, null, CredentialOfferErrorCode.invalid_request, "No credential offer value found on request, and credential offer could not be fetched by reference from given credential_offer_uri")
166166
}
167167

168-
@OptIn(ExperimentalEncodingApi::class)
169168
open fun executePreAuthorizedCodeFlow(credentialOffer: CredentialOffer, holderDid: String, client: OpenIDClientConfig, userPIN: String?): List<CredentialResponse> {
170169
if(!credentialOffer.grants.containsKey(GrantType.pre_authorized_code.value)) throw CredentialOfferError(null, credentialOffer, CredentialOfferErrorCode.invalid_request, "Pre-authorized code issuance flow executed, but no pre-authorized_code found on credential offer")
171170
val issuerMetadataUrl = getCIProviderMetadataUrl(credentialOffer.credentialIssuer)

0 commit comments

Comments
 (0)