<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/AuthorizationAsyncCallback",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@T@AuthorizationAsyncCallback"
  },
  "title" : "AuthorizationAsyncCallback"
}
-->

# AuthorizationAsyncCallback

A block used as a callback for the asynchronous version of copying authorization rights.

```
typealias AuthorizationAsyncCallback = (OSStatus, UnsafeMutablePointer<AuthorizationRights>?) -> Void
```

## Parameters

`err`

A result code. See [Authorization Services Result Codes](/documentation/Security/authorization-services-result-codes). This is equivalent to the return value from the [`AuthorizationCopyRights(_:_:_:_:_:)`](/documentation/Security/AuthorizationCopyRights(_:_:_:_:_:)) function.

`blockAuthorizedRights`

The authorized rights. This is equivalent to the authorizedRights parameter of the [`AuthorizationCopyRights(_:_:_:_:_:)`](/documentation/Security/AuthorizationCopyRights(_:_:_:_:_:)) function. Free this object using the [`AuthorizationFreeItemSet(_:)`](/documentation/Security/AuthorizationFreeItemSet(_:)) function when you are done with it.

## Discussion

Use a block of this type as the callback parameter to the [`AuthorizationCopyRightsAsync(_:_:_:_:_:)`](/documentation/Security/AuthorizationCopyRightsAsync(_:_:_:_:_:)) function.

---

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)