---
title: "init(ssid:eapSettings:)"
framework: networkextension
role: symbol
role_heading: Initializer
path: "networkextension/nehotspotconfiguration/init(ssid:eapsettings:)-53cpf"
---

# init(ssid:eapSettings:)

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

## Declaration

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

## Parameters

- `SSID`: The SSID of the WPA/WPA2 enterprise Wi-Fi network. See doc://com.apple.networkextension/documentation/NetworkExtension/NEHotspotConfiguration/ssid.
- `eapSettings`: EAP settings. For details, see doc://com.apple.networkextension/documentation/NetworkExtension/NEHotspotEAPSettings.

## See Also

### Initializing a configuration

- [init(ssid:)](networkextension/nehotspotconfiguration/init(ssid:)-9apfi.md)
- [init(ssid:passphrase:isWEP:)](networkextension/nehotspotconfiguration/init(ssid:passphrase:iswep:)-3ll1v.md)
- [init(hs20Settings:eapSettings:)](networkextension/nehotspotconfiguration/init(hs20settings:eapsettings:)-291m2.md)
- [init(ssidPrefix:)](networkextension/nehotspotconfiguration/init(ssidprefix:)-1v8bx.md)
- [init(ssidPrefix:passphrase:isWEP:)](networkextension/nehotspotconfiguration/init(ssidprefix:passphrase:iswep:)-7ttmu.md)
