Commit Graph

3 Commits

Author SHA1 Message Date
javier b547126708 Added support for the Crypto and CommonCrypto libraries for the GenerateHashUseCase use case in the library target, so this code builds for non-apple platforms. 2025-10-05 23:57:54 +02:00
javier 178f59909f Fixed a Swift 5.10 and Swift 6.0 compilation issue found on the "init(privateKey: publicKey: )" initializer function of the GenerateHashUseCase use case in the library target. (#6)
This PR contains the work done to fix a [Swift 5.10](https://swiftpackageindex.com/builds/780C768F-B00B-4F96-90E7-BFB0D2E7C47E) and [Swift 6.0](https://swiftpackageindex.com/builds/4D0AA35C-1F9E-4725-A02F-03FACF74DE10) compilation issue found by the Swift Package Index.

Reviewed-on: #6
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-10-05 12:35:23 +00:00
javier ce0ec02c03 Implemented the Auth middleware (#3)
This PR contains the work done to implement the `AuthMiddleware` middleware that, when plugged into a `Client` object, adds authentication parameters to any request the client would make.

Reviewed-on: #3
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-10-04 10:57:15 +00:00