Contents

createCredentialRegistrationRequest(challenge:displayName:name:userID:)

Creates a registration request with a challenge, display name, and user ID.

Declaration

func createCredentialRegistrationRequest(challenge: Data, displayName: String, name: String, userID: Data) -> ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest

Parameters

  • challenge:

    A stream of bytes that the server provides to prove an authenticator is valid.

  • displayName:

    The proper name of the user.

  • name:

    The name of the user.

  • userID:

    The user’s account identifier.

Mentioned in

Return Value

A security key credential registration request.

See Also

Creating the request