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

# ASAuthorizationAccountCreationPlatformPublicKeyCredentialRequest

```
@objc class ASAuthorizationAccountCreationPlatformPublicKeyCredentialRequest
```

## Topics

### Instance Properties

[`let acceptedContactIdentifiers: [ASContactIdentifierRequest]`](/documentation/AuthenticationServices/ASAuthorizationAccountCreationPlatformPublicKeyCredentialRequest/acceptedContactIdentifiers)

An ordered list of contact identifiers that the user can choose from during account creation. The order of this list indicates preference. Exactly one contact identifier from this list will be included in the response.

[`let challenge: Data`](/documentation/AuthenticationServices/ASAuthorizationAccountCreationPlatformPublicKeyCredentialRequest/challenge)

A single-use challenge to be signed by the created passkey.

[`let relyingPartyIdentifier: String`](/documentation/AuthenticationServices/ASAuthorizationAccountCreationPlatformPublicKeyCredentialRequest/relyingPartyIdentifier)

The Relying Party to register the passkey with, generally a domain name.

[`let shouldRequestName: Bool`](/documentation/AuthenticationServices/ASAuthorizationAccountCreationPlatformPublicKeyCredentialRequest/shouldRequestName)

Whether to request the user’s name.

[`let userID: Data`](/documentation/AuthenticationServices/ASAuthorizationAccountCreationPlatformPublicKeyCredentialRequest/userID)

A stable, opaque identifier for the created account. This will be saved as the userID for the created passkey.

### Instance Methods

[`func encode(with: NSCoder)`](/documentation/AuthenticationServices/ASAuthorizationAccountCreationPlatformPublicKeyCredentialRequest/encode(with:))

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

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

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

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

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

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

### Inherits From

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

---

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)