<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistrationRequest",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "c:objc(pl)ASAuthorizationPublicKeyCredentialRegistrationRequest"
  },
  "title" : "ASAuthorizationPublicKeyCredentialRegistrationRequest"
}
-->

# ASAuthorizationPublicKeyCredentialRegistrationRequest

An interface that defines properties for a credential registration request.

```
protocol ASAuthorizationPublicKeyCredentialRegistrationRequest : NSCopying, NSSecureCoding, NSObjectProtocol
```

## Topics

### Getting the properties

[`attestationPreference`](/documentation/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistrationRequest/attestationPreference)

The type of attestation you’re requesting.

[`challenge`](/documentation/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistrationRequest/challenge)

Arbitrary data that the client signs as proof of a valid registration or attestation.

[`displayName`](/documentation/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistrationRequest/displayName)

A user-visible name for the credential, such as the account’s user name.

[`name`](/documentation/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistrationRequest/name)

A user-visible name that identifies a credential.

[`relyingPartyIdentifier`](/documentation/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistrationRequest/relyingPartyIdentifier)

The domain name of the website for the credential.

[`userID`](/documentation/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistrationRequest/userID)

Data that the relying party associates with the credential.

[`userVerificationPreference`](/documentation/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistrationRequest/userVerificationPreference)

A preference for whether the authenticator attempts to verify the user at the time of sign-in.



---

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)