2fa work slight refactor

- use existing access mechanisms for validation
- adds swagger/schema and validation of incoming payload
This commit is contained in:
Jamie Curnow committed 2026-01-14 11:45:12 +10:00
1 parent b7dfaddbb1
commit 462c134751
14 files changed
+565 -418

No files matched your search

+8 -1
View File
@@ -50,7 +50,14 @@
}
},
"schema": {
"$ref": "../../components/token-object.json"
"oneOf": [
{
"$ref": "../../components/token-object.json"
},
{
"$ref": "../../components/token-challenge.json"
}
]
}
}
},