<!--
{
  "availability" : [
    "iOS: 26.2.0 -",
    "iPadOS: 26.2.0 -",
    "macCatalyst: 26.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WiFiInfrastructure",
  "identifier" : "/documentation/WiFiInfrastructure/WINetworkSharingController/AuthorizationState",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Wi-Fi Infrastructure"
    ],
    "preciseIdentifier" : "s:18WiFiInfrastructure26WINetworkSharingControllerC18AuthorizationStateO"
  },
  "title" : "WINetworkSharingController.AuthorizationState"
}
-->

# WINetworkSharingController.AuthorizationState

An enumeration that represents the authorization state for sharing Wi-Fi networks with a given accessory.

```
enum AuthorizationState
```

## Overview

Use `AuthorizationState` to determine the current permission level for Wi-Fi network sharing between the person’s device and a connected accessory. This enum helps you understand whether the person has granted, denied, or not yet decided on Wi-Fi sharing permissions.

Check the authorization state before attempting to share Wi-Fi credentials with an accessory. Handle each state appropriately in your app’s user interface to provide clear feedback about the current sharing permissions.

## Topics

### Checking authorization state

[`case undetermined`](/documentation/WiFiInfrastructure/WINetworkSharingController/AuthorizationState/undetermined)

The person has not yet made a choice about sharing Wi-Fi networks with the accessory.

[`case denied`](/documentation/WiFiInfrastructure/WINetworkSharingController/AuthorizationState/denied)

The person has chosen not to share Wi-Fi networks with the accessory.

[`case askToShare`](/documentation/WiFiInfrastructure/WINetworkSharingController/AuthorizationState/askToShare)

The person has granted authorization to share Wi-Fi networks with the
accessory, but you must request approval for each network individually.

[`case automatic`](/documentation/WiFiInfrastructure/WINetworkSharingController/AuthorizationState/automatic)

The person has granted authorization to share Wi-Fi networks with the accessory
automatically, without requiring approval for each network.

## Relationships

### Conforms To

[`CaseIterable`](/documentation/Swift/CaseIterable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

---

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)