Instance Method

setAuthorization(_:)

No overview available.

Declaration

func setAuthorization(_ authorization: AuthorizationRef)

See Also

Managing VPN Configurations

class func shared() -> NEVPNManager

Access the single instance of NEVPNManager.

func loadFromPreferences(completionHandler: (Error?) -> Void)

Load the VPN configuration from the Network Extension preferences.

func saveToPreferences(completionHandler: ((Error?) -> Void)?)

Save the VPN configuration in the Network Extension preferences.

func removeFromPreferences(completionHandler: ((Error?) -> Void)?)

Remove the VPN configuration from the Network Extension preferences.