One Logo Pool Ball
AuthenticationServices · IOS API REFERENCE

ASAuthorizationAccountCreationPlatformPublicKeyCredentialRequest

class · iOS 26.0+ · SDK 27.1

@objc class ASAuthorizationAccountCreationPlatformPublicKeyCredentialRequest

Members (6)

method · iOS 26.0+

encode

TypeScript
encode(coder: _Foundation_NSCoder): void
Swift declaration
override dynamic func encode(with coder: NSCoder)
get · iOS 26.0+

shouldRequestName

TypeScript
get shouldRequestName(): boolean
Swift declaration
final let shouldRequestName: Bool

Whether to request the user's name.

get · iOS 26.0+

relyingPartyIdentifier

TypeScript
get relyingPartyIdentifier(): string
Swift declaration
final let relyingPartyIdentifier: String

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

get · iOS 26.0+

acceptedContactIdentifiers

TypeScript
get acceptedContactIdentifiers(): Array<ASContactIdentifierRequest>
Swift declaration
final let acceptedContactIdentifiers: [ASContactIdentifierRequest]

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.

get · iOS 26.0+

userID

TypeScript
get userID(): ArrayBuffer
Swift declaration
final let userID: Data

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

get · iOS 26.0+

challenge

TypeScript
get challenge(): ArrayBuffer
Swift declaration
final let challenge: Data

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

Skipped declarations

No declarations were skipped in this snapshot.

All AuthenticationServices types →