javier 24d703b967 Added input validation to the Authentication middleware (#5)
This PR contains the work done to improve the existing `AuthMiddleware` type to provide input validations with the `SecureValidationRule` validation rule and also, by generating the authentication information at initialization time.

Reviewed-on: #5
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-10-12 19:33:45 +00:00

Discogs Service

A library written entirely with Swift that allow the developer to interact with the Discogs API backend service.

Installation

To use this library, then add it as a dependency in the Package.swift file of your project:

let package = Package(
    // name, platforms, products, etc.
    dependencies: [
        .package(url: "https://github.com/rock-n-code/discogs-service", from: "0.2.0"),
        // other dependencies
    ],
    targets: [
        .target(
            name: "SomeTarget", 
            dependencies: [
                .product(name: "DiscogsService", package: "discogs-service"),
            ]
        )
        // other targets
    ]
)

It is also possible to use this library with your app in Xcode, then add it as a dependency in your Xcode project.

important: Swift 5.10 or higher is required in order to compile this library.

Documentation

Please refer to the online documentation for further informations about this library.

S
Description
A service written in Swift that interacts with the Discogs backend service.
https://github.com/rock-n-code/discogs-service
Readme Apache-2.0 74 MiB
2026-03-24 01:57:54 +00:00
Languages
Swift 96.5%
Makefile 3.5%