Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Sources/OAuthKit/Storage/Keychain.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
// Created by Kevin McKee
//

import Foundation
#if canImport(Security)
import Foundation
import Security
#endif

/// A helper class used to interact with Keychain storage access. Wraps all storage write operations with threadsafe locks.
class Keychain: OAuth.Storage, @unchecked Sendable {
Expand Down Expand Up @@ -148,3 +147,4 @@ class Keychain: OAuth.Storage, @unchecked Sendable {
return status == noErr
}
}
#endif
Loading