Add U2F support

This commit is contained in:
Jonas Lochmann
2022-09-22 08:47:06 +02:00
parent 04aa2ce517
commit 613776cbf9
64 changed files with 2501 additions and 134 deletions
@@ -6,6 +6,9 @@
{
"$ref": "#/definitions/SerializedAddCategoryNetworkIdAction"
},
{
"$ref": "#/definitions/SerializedAddParentU2fKeyAction"
},
{
"$ref": "#/definitions/SerializedAddUserAction"
},
@@ -33,9 +36,15 @@
{
"$ref": "#/definitions/SerializedIncrementCategoryExtraTimeAction"
},
{
"$ref": "#/definitions/SerializedReportU2fLoginAction"
},
{
"$ref": "#/definitions/SerializedRemoveCategoryAppsAction"
},
{
"$ref": "#/definitions/SerializedRemoveParentU2fKeyAction"
},
{
"$ref": "#/definitions/SerializedRemoveUserAction"
},
@@ -198,6 +207,30 @@
],
"title": "SerializedAddCategoryNetworkIdAction"
},
"SerializedAddParentU2fKeyAction": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"ADD_PARENT_U2F"
]
},
"keyHandle": {
"type": "string"
},
"publicKey": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"keyHandle",
"publicKey",
"type"
],
"title": "SerializedAddParentU2fKeyAction"
},
"SerializedAddUserAction": {
"type": "object",
"properties": {
@@ -535,6 +568,22 @@
],
"title": "SerializedIncrementCategoryExtraTimeAction"
},
"SerializedReportU2fLoginAction": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"REPORT_U2F_LOGIN"
]
}
},
"additionalProperties": false,
"required": [
"type"
],
"title": "SerializedReportU2fLoginAction"
},
"SerializedRemoveCategoryAppsAction": {
"type": "object",
"properties": {
@@ -562,6 +611,30 @@
],
"title": "SerializedRemoveCategoryAppsAction"
},
"SerializedRemoveParentU2fKeyAction": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"REMOVE_PARENT_U2F"
]
},
"keyHandle": {
"type": "string"
},
"publicKey": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"keyHandle",
"publicKey",
"type"
],
"title": "SerializedRemoveParentU2fKeyAction"
},
"SerializedRemoveUserAction": {
"type": "object",
"properties": {