<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/AuthorizationItemSet/init(count:items:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "s:So20AuthorizationItemSeta5count5itemsABs6UInt32V_SpySo0aB0aGSgtcfc"
  },
  "title" : "init(count:items:)"
}
-->

# init(count:items:)

Initializes an authorization item set with the given items.

```
init(count: UInt32, items: UnsafeMutablePointer<AuthorizationItem>?)
```

## Parameters

`count`

The number of items in the `items` array.

`items`

A pointer to the first authorization item in an array of items.

---

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)