diff --git a/Secrets/Sources/Secrets/Credentials.swift b/Secrets/Sources/Secrets/Credentials.swift index e7d0f0262..0db711cea 100644 --- a/Secrets/Sources/Secrets/Credentials.swift +++ b/Secrets/Sources/Secrets/Credentials.swift @@ -8,12 +8,12 @@ import Foundation -public enum CredentialsError: Error { +public enum CredentialsError: Error, Sendable { case incompleteCredentials case unhandledError(status: OSStatus) } -public enum CredentialsType: String { +public enum CredentialsType: String, Sendable { case basic = "password" case newsBlurBasic = "newsBlurBasic" case newsBlurSessionId = "newsBlurSessionId" @@ -24,7 +24,7 @@ public enum CredentialsType: String { case oauthRefreshToken = "oauthRefreshToken" } -public struct Credentials: Equatable { +public struct Credentials: Equatable, Sendable { public let type: CredentialsType public let username: String public let secret: String