<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/sec_protocol_challenge_complete_t",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@T@sec_protocol_challenge_complete_t"
  },
  "title" : "sec_protocol_challenge_complete_t"
}
-->

# sec_protocol_challenge_complete_t

```
typealias sec_protocol_challenge_complete_t = (sec_identity_t?) -> Void
```

## Parameters

`identity`

A `sec_identity_t` containing the identity to use for this challenge.

## Discussion

\abstract Block to be invoked when an identity (authentication) challenge is complete.

```
 Note: prior to macOS 10.15, iOS 13.0, watchOS 6.0, and tvOS 13.0, calling this
 block with a NULL `identity` argument was prohibited.
```

---

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)