You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec/config.json
+33-5Lines changed: 33 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -926,11 +926,39 @@
926
926
"description": "Configures how often a non-interactive device should poll the device token endpoint, this is a purely informational configuration and does not enforce rate-limiting.",
927
927
"examples": ["5s", "15s", "1m"]
928
928
},
929
-
"user_code_entropy": {
930
-
"type": "string",
931
-
"description": "Sets the entropy for the user codes.",
932
-
"default": "medium",
933
-
"enum": ["high", "medium", "low"]
929
+
"user_code": {
930
+
"type": "object",
931
+
"description": "Configures the user code settings.",
932
+
"oneOf": [
933
+
{
934
+
"properties": {
935
+
"entropy_preset": {
936
+
"type": "string",
937
+
"description": "Presets for the user-code length and character set.",
938
+
"enum": ["high", "medium", "low"]
939
+
}
940
+
},
941
+
"required": ["entropy_preset"],
942
+
"additionalProperties": false
943
+
},
944
+
{
945
+
"properties": {
946
+
"length": {
947
+
"type": "integer",
948
+
"description": "The length of the user code.",
949
+
"minimum": 6
950
+
},
951
+
"character_set": {
952
+
"type": "string",
953
+
"description": "The character set to use for the user code. Provide the raw characters that should be used.",
0 commit comments