<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASAuthorizationSecurityKeyPublicKeyCredentialAssertion",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "c:objc(cs)ASAuthorizationSecurityKeyPublicKeyCredentialAssertion"
  },
  "title" : "ASAuthorizationSecurityKeyPublicKeyCredentialAssertion"
}
-->

# ASAuthorizationSecurityKeyPublicKeyCredentialAssertion

A class that represents the security key credential assertion type.

```
class ASAuthorizationSecurityKeyPublicKeyCredentialAssertion
```

## Overview

The security key creates an assertion when signing in with an existing credential. Use this class to verify the security key credential assertion when the authorization controller calls [`authorizationController(controller:didCompleteWithAuthorization:)`](/documentation/AuthenticationServices/ASAuthorizationControllerDelegate/authorizationController(controller:didCompleteWithAuthorization:)).

## Topics

### Instance Properties

[`appID`](/documentation/AuthenticationServices/ASAuthorizationSecurityKeyPublicKeyCredentialAssertion/appID)

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`ASAuthorizationCredential`](/documentation/AuthenticationServices/ASAuthorizationCredential)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`ASAuthorizationPublicKeyCredentialAssertion`](/documentation/AuthenticationServices/ASAuthorizationPublicKeyCredentialAssertion)

[`Equatable`](/documentation/Swift/Equatable)

[`ASPublicKeyCredential`](/documentation/AuthenticationServices/ASPublicKeyCredential)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Hashable`](/documentation/Swift/Hashable)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)