<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEHotspotConfiguration/init(ssid:eapSettings:)-53cpf",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NEHotspotConfiguration(im)initWithSSID:eapSettings:"
  },
  "title" : "init(ssid:eapSettings:)"
}
-->

# init(ssid:eapSettings:)

Creates a new hotspot configuration, identified by an SSID, for a WPA/WPA2 enterprise Wi-Fi network with EAP settings.

```
init(ssid SSID: String, eapSettings: NEHotspotEAPSettings)
```

## Parameters

`SSID`

The SSID of the WPA/WPA2 enterprise Wi-Fi network. See [`ssid`](/documentation/NetworkExtension/NEHotspotConfiguration/ssid).

`eapSettings`

EAP settings. For details, see [`NEHotspotEAPSettings`](/documentation/NetworkExtension/NEHotspotEAPSettings).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)