Reasons why the provider extension was stopped.


enum NEProviderStopReason : Int


NEProviderStopReasonUserLogout and NEProviderStopReasonUserSwitch are available only in macOS.


Enumeration Cases

case none

No specific reason.

case userInitiated

The user stopped the provider extension.

case providerFailed

The provider failed to function correctly.

case noNetworkAvailable

No network connectivity is currently available.

case unrecoverableNetworkChange

The device’s network connectivity changed.

case providerDisabled

The provider was disabled.

case authenticationCanceled

The authentication process was canceled.

case configurationFailed

The configuration is invalid.

case idleTimeout

The session timed out.

case configurationDisabled

The configuration was disabled.

case configurationRemoved

The configuration was removed.

case superceded

The configuration was superceded by a higher-priority configuration.

case userLogout

The user logged out.

case userSwitch

The current console user changed.

case connectionFailed

The connection failed.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software