Instance Property

username

The user name string for EAP authentication, encoded as UTF-8.

Declaration

var username: String { get set }

Discussion

This property must be configured for PEAP, EAP-TTLS, and EAP-FAST authentication. It is optional for EAP-TLS authentication. The length of this property must be 1 to 253 characters, inclusive.

See Also

Accessing EAP Properties

var isTLSClientCertificateRequired: Bool

A Boolean value indicating whether a network requires two-factor authentication or allows zero-factor authentication.

var trustedServerNames: [String]

An array of server certificate common name strings used to verify a server’s certificate.

var supportedEAPTypes: [NSNumber]

An array of supported EAP types.

enum NEHotspotEAPSettings.EAPType

The EAP types that may be specified in supportedEAPTypes.

var password: String

The password component of the IEEE 802.1X authentication credential.

var preferredTLSVersion: NEHotspotEAPSettings.TLSVersion

The Transport Layer Security (TLS) version to use during a TLS authentication handshake.

enum NEHotspotEAPSettings.TLSVersion

The EAPTLS Version identifiers that may be specified by preferredTLSVersion.

var outerIdentity: String

The identity string to be used in the EAP-Identity/Response packet during outer EAP authentication.

var ttlsInnerAuthenticationType: NEHotspotEAPSettings.TTLSInnerAuthenticationType

The inner-layer authentication protocol used by a TTLS module.