mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-02-08 08:52:05 +00:00
The VPNConfiguration parameter is opaque and tightly coupled to TunnelKit. Connecting to a Profile makes infinitely more sense, beyond simplifying the VPNManager class. Configuration building is fully delegated to the strategy (as it has to be). - VPNManager takes Profile and produces VPNConfigurationParameters - VPNManagerStrategy takes VPNConfigurationParameters (abstract) - TunnelKitVPNManagerStrategy takes VPNConfigurationParameters and produces TunnelKitVPNConfiguration internally |
||
---|---|---|
.. | ||
ProfileRepository.swift | ||
SecretRepository.swift | ||
UpgradeStrategy.swift | ||
VPNManagerStrategy.swift |