You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/computer-vision/concept-face-liveness-quick-link.md
+90-1Lines changed: 90 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,96 @@ You can utilize the liveness quick link website liveness.face.azure.com to turn
32
32
:::image type="content" source="media/liveness/liveness-quick-link-diagram.png" alt-text="A diagram illustrates liveness quick link work flow":::
33
33
34
34
1. Start a session server side. Your backend asks Face API for a new liveness session and receives a short lived authorization token that represents that session.
35
-
2. Swap the token for a link. Your backend sends the token to the Quick Link service, which creates a one time URL tied to the session.
35
+
2. Swap the token for a link. Your backend sends the token to the Quick Link service, which creates a one time URL tied to the session. here are examples to post request:
36
+
37
+
#### [C#](#tab/csharp)
38
+
```csharp
39
+
var client = new HttpClient();
40
+
var request = new HttpRequestMessage
41
+
{
42
+
Method = HttpMethod.Post,
43
+
RequestUri = new Uri("https://liveness.face.azure.com/api/s"),
Simply compose the returned url after liveness quick link web site https:////liveness.face.azure.com/?s=60c3980c-d9f6-4b16-a7f5-f1f4ad2b506f
124
+
36
125
3. Send the link to the user. You can redirect the browser, show a button, or display a QR code—anything that gets the user to open the link on a camera enabled device.
37
126
4. Azure hosts the capture. When the link opens, the Azure operated page guides the user through the liveness check sequence using the latest Liveness Web Client.
38
127
5. Get the outcome callback. As soon as the check finishes—or if the user abandons or times out—Quick Link notify to your callback endpoint so your application can decide what happens next.
0 commit comments