Contents

init(relyingParty:clientDataHash:credentialID:attestationObject:)

Initializes a passkey registration credential object.

Declaration

init(relyingParty: String, clientDataHash: Data, credentialID: Data, attestationObject: Data)

Parameters

  • relyingParty:

    The relying party associated with this passkey.

  • clientDataHash:

    A hash of the client data for this credential.

  • credentialID:

    The identifier for this credential.

  • attestationObject:

    The attestation object for this passkey, which may contain an attestation statement and authenticator data.

See Also

Creating a passkey registration credential