Support Pre-Authorized Code Flow
The flow is supported by existing methods:
1 - An issue offer url is scanned. The following method is called: public func resolveOfferUrlDocTypes(uriOffer: String, format: DataFormat = .cbor, useSecureEnclave: Bool = true) async throws -> OfferedIssueModel
(Breaking change, the return value type is OfferedIssueModel
instead of [OfferedDocModel]
)
2 - If OfferedIssueModel.isTxCodeRequired
is true, the call to issueDocumentsByOfferUrl
must include the transaction code (parameter txCodeValue
).
- Note: for the clientId value the
EudiWallet/openID4VciClientId
is used.