Because of the reliance on the Security, Foundation, and CryptoKit frameworks, Swift PKCE is currently limited to Apple platforms.
Some of these have readily available alternatives that could open the door for usage on Windows, Linux, etc.:
Security → SwiftNIO SSL? As suggested by this archived repo
Foundation → swift-corelibs-foundation
CryptoKit → Swift Crypto
Because of the reliance on the Security, Foundation, and CryptoKit frameworks, Swift PKCE is currently limited to Apple platforms.
Some of these have readily available alternatives that could open the door for usage on Windows, Linux, etc.:
Security → SwiftNIO SSL? As suggested by this archived repo
Foundation → swift-corelibs-foundation
CryptoKit → Swift Crypto