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:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user