diff --git a/Sources/DiscogsService/Public/Enumerations/AuthMethod.swift b/Sources/DiscogsService/Public/Enumerations/AuthMethod.swift index 8f7fbf154..e33ca41d9 100644 --- a/Sources/DiscogsService/Public/Enumerations/AuthMethod.swift +++ b/Sources/DiscogsService/Public/Enumerations/AuthMethod.swift @@ -23,7 +23,7 @@ /// Personal access token | 🐰 High tier | ✔️ Yes | ✔️ Yes, for token holder only 👩 /// /// Please refer to the [Discogs documentation](https://www.discogs.com/developers#page:authentication,header:authentication-discogs-auth-flow) for further details. -public enum AuthMethod { +public enum AuthMethod: Equatable, Sendable { /// A consumer key and secret that allows access to endpoints that requires authentication. case consumer(key: String, secret: String) /// No authentication method defined. diff --git a/Sources/DiscogsService/Public/Enumerations/AuthTransport.swift b/Sources/DiscogsService/Public/Enumerations/AuthTransport.swift index 6a90a1f0b..5e3e67b25 100644 --- a/Sources/DiscogsService/Public/Enumerations/AuthTransport.swift +++ b/Sources/DiscogsService/Public/Enumerations/AuthTransport.swift @@ -13,7 +13,7 @@ // ===----------------------------------------------------------------------=== /// A representation of the available transport options to send credentials in authenticated requests. -public enum AuthTransport { +public enum AuthTransport: Sendable { /// Authentication credential are sent in a request as an `Authentication` header. /// /// This means that the header will be added to any existing header in a request, like this: