UNPKG

498 BJSONView Raw
1{
2 "$id": "mfa.attach",
3 "type": "object",
4 "required": [
5 "secret"
6 ],
7 "properties": {
8 "username": {
9 "$ref": "common.json#/definitions/userId"
10 },
11 "secret": {
12 "$ref": "common.json#/definitions/mfa-secret"
13 },
14 "totp": {
15 "$ref": "common.json#/definitions/totp"
16 },
17 "remoteip": {
18 "type": "string",
19 "format": "ipv4"
20 },
21 "time": {
22 "type": "integer",
23 "maximum": 2004072666505,
24 "minimum": 1387434941021
25 }
26 }
27}