mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Add U2F support
This commit is contained in:
@@ -70,6 +70,9 @@
|
||||
"dh": {
|
||||
"$ref": "#/definitions/ServerDhKey"
|
||||
},
|
||||
"u2f": {
|
||||
"$ref": "#/definitions/U2fData"
|
||||
},
|
||||
"fullVersion": {
|
||||
"type": "number"
|
||||
},
|
||||
@@ -933,6 +936,51 @@
|
||||
"v"
|
||||
],
|
||||
"title": "ServerDhKey"
|
||||
},
|
||||
"U2fData": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"v": {
|
||||
"type": "string"
|
||||
},
|
||||
"d": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/U2fItem"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"d",
|
||||
"v"
|
||||
],
|
||||
"title": "U2fData"
|
||||
},
|
||||
"U2fItem": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"u": {
|
||||
"type": "string"
|
||||
},
|
||||
"a": {
|
||||
"type": "number"
|
||||
},
|
||||
"h": {
|
||||
"type": "string"
|
||||
},
|
||||
"p": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"a",
|
||||
"h",
|
||||
"p",
|
||||
"u"
|
||||
],
|
||||
"title": "U2fItem"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
|
||||
Reference in New Issue
Block a user