<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/AuthorizationFlags",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@E@AuthorizationFlags"
  },
  "title" : "AuthorizationFlags"
}
-->

# AuthorizationFlags

The flags used to specify authorization options.

```
struct AuthorizationFlags
```

## Overview

These flags instruct the Security Server how to proceed with the function in which you pass them. You bitwise `OR` them together to specify more than one at a time. Set all unused bits to `0` to allow for future expansion.

Use these flags in calls to the [`AuthorizationCreate(_:_:_:_:)`](/documentation/Security/AuthorizationCreate(_:_:_:_:)), [`AuthorizationFree(_:_:)`](/documentation/Security/AuthorizationFree(_:_:)), [`AuthorizationCopyRights(_:_:_:_:_:)`](/documentation/Security/AuthorizationCopyRights(_:_:_:_:_:)), and [`AuthorizationCopyRightsAsync(_:_:_:_:_:)`](/documentation/Security/AuthorizationCopyRightsAsync(_:_:_:_:_:)) functions.

## Topics

### Initializers

[`init(rawValue:)`](/documentation/Security/AuthorizationFlags/init(rawValue:))

Initializes an authorization flags structure.

### Type Properties

[`kAuthorizationFlagDefaults`](/documentation/Security/AuthorizationFlags/kAuthorizationFlagDefaults)

An empty flag set that you use as a placeholder when you don’t want any of the other flags.

[`interactionAllowed`](/documentation/Security/AuthorizationFlags/interactionAllowed)

A flag that permits user interaction as needed.

[`extendRights`](/documentation/Security/AuthorizationFlags/extendRights)

A flag that permits the Security Server to attempt to grant the rights requested.

[`partialRights`](/documentation/Security/AuthorizationFlags/partialRights)

A flag that permits the Security Server to grant rights on an individual basis.

[`destroyRights`](/documentation/Security/AuthorizationFlags/destroyRights)

A flag that instructs the Security Server to revoke authorization.

[`preAuthorize`](/documentation/Security/AuthorizationFlags/preAuthorize)

A flag that instructs the Security Server to preauthorize the rights requested.

[`noData`](/documentation/Security/AuthorizationFlags/noData)

Private flag. Do not use.

[`skipInternalAuth`](/documentation/Security/AuthorizationFlags/skipInternalAuth)



---

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)