sendRegisterRequest

fun sendRegisterRequest()

Send a request to server to register FIDO2 key. Measure system time.

Measure the system time to get beginning time of registration intent. Send a register request to FIDO2 server by calling registerRequest method of userViewModel which returns a PendingIntent as LiveData. Set observer to this method and start registration intent as soon as response comes from the server.