Commit Graph

3 Commits

Author SHA1 Message Date
javier 620597b9ac 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. 2025-10-05 14:33:15 +02:00
javier f4065e62e4 Added support for an API key to the AuthMiddleware middleware in the library target. (#4)
This PR contains the work done to extend the implementation of the `AuthMiddleware` middleware to handle an API key as well as private and public keys.

Reviewed-on: #4
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-10-04 17:10:17 +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