createCredentialRegistrationRequest(challenge:name:userID:)
Creates a registration request with a challenge, name, and user ID.
Declaration
func createCredentialRegistrationRequest(challenge: Data, name: String, userID: Data) -> ASAuthorizationPlatformPublicKeyCredentialRegistrationRequestParameters
- challenge:
A stream of bytes that the server provides to prove an authenticator is valid.
- name:
The name of the user.
- userID:
A user identifier.
Return Value
A public key credential registration request.