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: org.knime.ext.box.authenticator.tests/files/test_snapshots/org.knime.ext.box.authenticator.node.BoxAuthenticatorSettingsTest.snap
+86-20Lines changed: 86 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,15 @@
1
1
{
2
2
"data" : {
3
3
"model" : {
4
-
"boxApp" : { },
4
+
"boxApp" : {
5
+
"secret" : {
6
+
"credentials" : {
7
+
"isHiddenPassword" : false,
8
+
"isHiddenSecondFactor" : false,
9
+
"username" : ""
10
+
}
11
+
}
12
+
},
5
13
"authType" : "OAUTH",
6
14
"redirectUrl" : "http://localhost:33749/"
7
15
}
@@ -27,13 +35,55 @@
27
35
"boxApp" : {
28
36
"type" : "object",
29
37
"properties" : {
30
-
"flowVariable" : {
31
-
"type" : "string",
32
-
"title" : "App ID and secret (flow variable)",
33
-
"description" : "Specifies a credentials flow variable with the app/client ID and secret of the custom Box app.\nThese fields can be found in the configuration settings of your custom Box app.\n"
38
+
"secret" : {
39
+
"type" : "object",
40
+
"properties" : {
41
+
"credentials" : {
42
+
"type" : "object",
43
+
"properties" : {
44
+
"password" : {
45
+
"type" : "string",
46
+
"default" : ""
47
+
},
48
+
"secondFactor" : {
49
+
"type" : "string",
50
+
"default" : ""
51
+
},
52
+
"username" : {
53
+
"type" : "string",
54
+
"default" : ""
55
+
}
56
+
},
57
+
"default" : {
58
+
"isHiddenPassword" : false,
59
+
"isHiddenSecondFactor" : false,
60
+
"username" : ""
61
+
}
62
+
},
63
+
"flowVarName" : {
64
+
"type" : "string"
65
+
}
66
+
},
67
+
"title" : "App ID and secret",
68
+
"description" : "Specifies the app/client ID and secret of the custom Box app.\nThese fields can be found in the configuration settings of your custom Box app.\n",
Copy file name to clipboardExpand all lines: org.knime.ext.box.authenticator/src-deprecated/org/knime/ext/box/authenticator/node/BoxAuthenticatorSettings.java
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -136,6 +136,7 @@ public EffectPredicate init(final PredicateInitializer i) {
136
136
}
137
137
138
138
@Layout(BoxAppSection.class)
139
+
@ValueReference(BoxAppSettings.Ref.class)
139
140
BoxAppSettingsm_boxApp = newBoxAppSettings();
140
141
141
142
@Widget(title = "Type", description = "Authentication method to use.")
0 commit comments