-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathSignRequest.cs
More file actions
36 lines (30 loc) · 1.19 KB
/
SignRequest.cs
File metadata and controls
36 lines (30 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using SharpKit.JavaScript;
namespace SharpKit.FIDO
{
[JsType(JsMode.Json, PropertiesAsFields = true, NativeCasts = true)]
public class SignRequest
{
/// <summary>
/// The version of the protocol that the to-be-registered token must speak. E.g. "U2F_V2".
/// </summary>
[JsProperty(Name = "version", NativeField = true)]
public JsString Version { get; set; }
/// <summary>
/// The websafe-base64-encoded challenge.
/// </summary>
[JsProperty(Name = "challenge", NativeField = true)]
public JsString Challenge { get; set; }
/// <summary>
/// The websafe-base64-encoded challenge.
/// </summary>
[JsProperty(Name = "keyHandle", NativeField = true)]
public JsString KeyHandle { get; set; }
/// <summary>
/// The application id that the RP asserts. The new key pair that the U2F token generates will be associated with this application id.
/// (For application id details see [U2FAppFacet] in bibliography).
/// </summary>
[JsProperty(Name = "appId", NativeField = true)]
public JsString AppID { get; set; }
}
}