Commit Graph

13 Commits

Author SHA1 Message Date
javier c324affad1 Renamed the AgentNameValidationRule type in the library target as CamelCaseValidationRule. 2025-10-13 00:17:22 +02:00
javier b13e139237 Implemented the AgentNameValidationRule type in the library target. 2025-10-13 00:01:22 +02:00
javier cd157bc3c3 Implemented the "fullyMatch(pattern: )" function for the String+Functions extension in the library target. 2025-10-13 00:00:25 +02:00
javier 21f2901337 Improved the AuthMiddleware type in the library target by adding input validation and by generating the authentication information once. 2025-10-12 21:26:55 +02:00
javier c2ab60a5aa Fixed an issue with the way the regex pattern was generated for the SecureValidationRule type in the library target. 2025-10-12 19:15:26 +02:00
javier a47a3a464b Fixed a warning message for the NotNilValidationRule type in the library target. 2025-10-12 17:41:06 +02:00
javier f32d24b26b Implemented the SecureValidationRule type in the library target. 2025-10-12 17:37:52 +02:00
javier c00c348f02 Implemented the ValidateInputUseCase use case in the library target. 2025-10-12 14:36:04 +02:00
javier 2677bd8de5 Implemented the NotNilValidationRule type in the library target. 2025-10-12 14:12:20 +02:00
javier 630f8a03f7 Implemented the NotEmptyValidationRule type in the library target. 2025-10-12 13:57:54 +02:00
javier 8c68ae9417 Defined the InputValidationRule protocol in the library target. 2025-10-12 13:57:24 +02:00
javier db688c553d Added the "userAgent" format constant to the String+Constants extension in the library extension. 2025-10-12 13:13:09 +02:00
javier bfc9e67d38 Implemented the Authentication middleware (#3)
This PR contains the work done to implement the `AuthMiddleware` middleware, to authenticate the requests sent to the backend service, based on [their specifications](https://www.discogs.com/developers/#page:authentication).

In addition, some documentation has been added/updated and some boilerplate source code has been removed from the project.

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-11 07:39:52 +00:00