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) -> ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequestParameters
- 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.