<h2 id="protocol_conversation">Managing the Protocol Conversation</h2>
-<p>The core UAF protocol consists of conceptual conversations between the FIDO UAF client and the FIDO server, which allow the server to prompt the client to register authenticators and authenticate the end user. The server can also deregister authentication keys.</p>
+<p>The core UAF protocol consists of conceptual conversations between the FIDO UAF client and the FIDO server, which allow the server to prompt the client to register authenticators and authenticate the end user.</p>
<p>To receive conversation messages from the server:</p>
+
+<ul>
+ <li>For an authenticator registration request:
<pre class="prettyprint">
UafMessage UafRegistrationRequest = new UafMessage()
{
var response = await UafClient.ProcessRequestAsync(UafRegistrationRequest, null);
Assert.IsInstanceOf<UafResponse>(response, "Expected return type is UafResponse");
</pre>
+ </li>
+ <li>For an authentication request:
+<pre class="prettyprint">
+UafMessage UafAuthRequest = new UafMessage()
+{
+ Operation = UafAuthRequestJson
+};
+
+var response = await UafClient.ProcessRequestAsync(UafAuthRequest, null);
+Assert.IsInstanceOf<UafResponse>(response, "Expected return type is UafResponse");
+</pre>
+ </li>
+</ul>
<h2 id="set_server_result">Setting the Server Result</h2>