One Logo Pool Ball
AuthenticationServices · IOS API REFERENCE

ASAuthorizationAccountCreationProvider

class · iOS 26.0+ · SDK 27.1

@objc class ASAuthorizationAccountCreationProvider

Members (2)

init · iOS 26.0+

init

TypeScript
static init(): ASAuthorizationAccountCreationProvider
Swift declaration
override dynamic init()
method · iOS 26.0+

createPlatformPublicKeyCredentialRegistrationRequest

TypeScript
createPlatformPublicKeyCredentialRegistrationRequest(acceptedContactIdentifiers: Array<ASContactIdentifierRequest>, shouldRequestName: boolean, relyingPartyIdentifier: string, challenge: ArrayBuffer, userID: ArrayBuffer): ASAuthorizationAccountCreationPlatformPublicKeyCredentialRequest
Swift declaration
func createPlatformPublicKeyCredentialRegistrationRequest(acceptedContactIdentifiers: [ASContactIdentifierRequest], shouldRequestName: Bool, relyingPartyIdentifier: String, challenge: Data, userID: Data) -> ASAuthorizationAccountCreationPlatformPublicKeyCredentialRequest

Create a new account creation request backed by a platform public key credential, i.e. a passkey. - parameters: - 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. - shouldRequestName: Whether to request the user's name. - relyingPartyIdentifier: The Relying Party to register the passkey with, generally a domain name. - challenge: A single-use challenge to be signed by the created passkey. - userID: A stable, opaque identifier for the created account. This will be saved as the userID for the created passkey.

Skipped declarations

No declarations were skipped in this snapshot.

All AuthenticationServices types →