Contents

createCredentialRegistrationRequest(clientData:name:userID:)

Create a credential registration request, for registering a new passkey with the relying party.

Declaration

func createCredentialRegistrationRequest(clientData: ASPublicKeyCredentialClientData, name: String, userID: Data) -> ASAuthorizationPlatformPublicKeyCredentialRegistrationRequest

Parameters

  • clientData:

    The client data that contains the reply to the relying party’s challenge.

  • name:

    The person’s user name for their account with the relying party.

  • userID:

    A unique identifier for the person’s account with the relying party.

Return Value

The credential registration request, that you pass to ASAuthorizationController.

See Also

Creating requests