---
title: "init(count:items:)"
framework: security
role: symbol
role_heading: Initializer
path: "security/authorizationitemset/init(count:items:)"
---

# init(count:items:)

Initializes an authorization item set with the given items.

## Declaration

```swift
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.
