Skip to content

Commit c9dd687

Browse files
JWT Config class
1 parent 623911e commit c9dd687

File tree

11 files changed

+78
-313
lines changed

11 files changed

+78
-313
lines changed

boss-lock.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"installedModules": {
55
"github.com/hashload/horse": {
66
"name": "horse",
7-
"version": "v2.0.1",
8-
"hash": "a9e80dbc40536b989ad1089a85bb1c5b",
7+
"version": "2.0.8",
8+
"hash": "f0d9be7d8b5059a6e99397562d39306c",
99
"artifacts": {},
1010
"failed": false,
1111
"changed": false

boss.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"mainsrc": "src/",
77
"projects": [],
88
"dependencies": {
9-
"github.com/HashLoad/horse": "^2.0.0",
9+
"github.com/hashload/horse": "^2.0.8",
1010
"github.com/paolo-rossi/delphi-jose-jwt": "^v2.5.2"
1111
}
1212
}

horse_jwt.dpk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ contains
3535
Horse.JWT in 'src\Horse.JWT.pas';
3636

3737
end.
38+

horse_jwt.dproj

Lines changed: 0 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -169,20 +169,12 @@
169169
<RemoteDir>classes</RemoteDir>
170170
<Operation>1</Operation>
171171
</Platform>
172-
<Platform Name="Android64">
173-
<RemoteDir>classes</RemoteDir>
174-
<Operation>1</Operation>
175-
</Platform>
176172
</DeployClass>
177173
<DeployClass Name="AndroidFileProvider">
178174
<Platform Name="Android">
179175
<RemoteDir>res\xml</RemoteDir>
180176
<Operation>1</Operation>
181177
</Platform>
182-
<Platform Name="Android64">
183-
<RemoteDir>res\xml</RemoteDir>
184-
<Operation>1</Operation>
185-
</Platform>
186178
</DeployClass>
187179
<DeployClass Name="AndroidGDBServer">
188180
<Platform Name="Android">
@@ -195,10 +187,6 @@
195187
<RemoteDir>library\lib\armeabi</RemoteDir>
196188
<Operation>1</Operation>
197189
</Platform>
198-
<Platform Name="Android64">
199-
<RemoteDir>library\lib\armeabi</RemoteDir>
200-
<Operation>1</Operation>
201-
</Platform>
202190
</DeployClass>
203191
<DeployClass Name="AndroidLibnativeArmeabiv7aFile">
204192
<Platform Name="Android64">
@@ -211,20 +199,12 @@
211199
<RemoteDir>library\lib\mips</RemoteDir>
212200
<Operation>1</Operation>
213201
</Platform>
214-
<Platform Name="Android64">
215-
<RemoteDir>library\lib\mips</RemoteDir>
216-
<Operation>1</Operation>
217-
</Platform>
218202
</DeployClass>
219203
<DeployClass Name="AndroidServiceOutput">
220204
<Platform Name="Android">
221205
<RemoteDir>library\lib\armeabi-v7a</RemoteDir>
222206
<Operation>1</Operation>
223207
</Platform>
224-
<Platform Name="Android64">
225-
<RemoteDir>library\lib\arm64-v8a</RemoteDir>
226-
<Operation>1</Operation>
227-
</Platform>
228208
</DeployClass>
229209
<DeployClass Name="AndroidServiceOutput_Android32">
230210
<Platform Name="Android64">
@@ -237,200 +217,120 @@
237217
<RemoteDir>res\drawable</RemoteDir>
238218
<Operation>1</Operation>
239219
</Platform>
240-
<Platform Name="Android64">
241-
<RemoteDir>res\drawable</RemoteDir>
242-
<Operation>1</Operation>
243-
</Platform>
244220
</DeployClass>
245221
<DeployClass Name="AndroidSplashStyles">
246222
<Platform Name="Android">
247223
<RemoteDir>res\values</RemoteDir>
248224
<Operation>1</Operation>
249225
</Platform>
250-
<Platform Name="Android64">
251-
<RemoteDir>res\values</RemoteDir>
252-
<Operation>1</Operation>
253-
</Platform>
254226
</DeployClass>
255227
<DeployClass Name="AndroidSplashStylesV21">
256228
<Platform Name="Android">
257229
<RemoteDir>res\values-v21</RemoteDir>
258230
<Operation>1</Operation>
259231
</Platform>
260-
<Platform Name="Android64">
261-
<RemoteDir>res\values-v21</RemoteDir>
262-
<Operation>1</Operation>
263-
</Platform>
264232
</DeployClass>
265233
<DeployClass Name="Android_Colors">
266234
<Platform Name="Android">
267235
<RemoteDir>res\values</RemoteDir>
268236
<Operation>1</Operation>
269237
</Platform>
270-
<Platform Name="Android64">
271-
<RemoteDir>res\values</RemoteDir>
272-
<Operation>1</Operation>
273-
</Platform>
274238
</DeployClass>
275239
<DeployClass Name="Android_DefaultAppIcon">
276240
<Platform Name="Android">
277241
<RemoteDir>res\drawable</RemoteDir>
278242
<Operation>1</Operation>
279243
</Platform>
280-
<Platform Name="Android64">
281-
<RemoteDir>res\drawable</RemoteDir>
282-
<Operation>1</Operation>
283-
</Platform>
284244
</DeployClass>
285245
<DeployClass Name="Android_LauncherIcon144">
286246
<Platform Name="Android">
287247
<RemoteDir>res\drawable-xxhdpi</RemoteDir>
288248
<Operation>1</Operation>
289249
</Platform>
290-
<Platform Name="Android64">
291-
<RemoteDir>res\drawable-xxhdpi</RemoteDir>
292-
<Operation>1</Operation>
293-
</Platform>
294250
</DeployClass>
295251
<DeployClass Name="Android_LauncherIcon36">
296252
<Platform Name="Android">
297253
<RemoteDir>res\drawable-ldpi</RemoteDir>
298254
<Operation>1</Operation>
299255
</Platform>
300-
<Platform Name="Android64">
301-
<RemoteDir>res\drawable-ldpi</RemoteDir>
302-
<Operation>1</Operation>
303-
</Platform>
304256
</DeployClass>
305257
<DeployClass Name="Android_LauncherIcon48">
306258
<Platform Name="Android">
307259
<RemoteDir>res\drawable-mdpi</RemoteDir>
308260
<Operation>1</Operation>
309261
</Platform>
310-
<Platform Name="Android64">
311-
<RemoteDir>res\drawable-mdpi</RemoteDir>
312-
<Operation>1</Operation>
313-
</Platform>
314262
</DeployClass>
315263
<DeployClass Name="Android_LauncherIcon72">
316264
<Platform Name="Android">
317265
<RemoteDir>res\drawable-hdpi</RemoteDir>
318266
<Operation>1</Operation>
319267
</Platform>
320-
<Platform Name="Android64">
321-
<RemoteDir>res\drawable-hdpi</RemoteDir>
322-
<Operation>1</Operation>
323-
</Platform>
324268
</DeployClass>
325269
<DeployClass Name="Android_LauncherIcon96">
326270
<Platform Name="Android">
327271
<RemoteDir>res\drawable-xhdpi</RemoteDir>
328272
<Operation>1</Operation>
329273
</Platform>
330-
<Platform Name="Android64">
331-
<RemoteDir>res\drawable-xhdpi</RemoteDir>
332-
<Operation>1</Operation>
333-
</Platform>
334274
</DeployClass>
335275
<DeployClass Name="Android_NotificationIcon24">
336276
<Platform Name="Android">
337277
<RemoteDir>res\drawable-mdpi</RemoteDir>
338278
<Operation>1</Operation>
339279
</Platform>
340-
<Platform Name="Android64">
341-
<RemoteDir>res\drawable-mdpi</RemoteDir>
342-
<Operation>1</Operation>
343-
</Platform>
344280
</DeployClass>
345281
<DeployClass Name="Android_NotificationIcon36">
346282
<Platform Name="Android">
347283
<RemoteDir>res\drawable-hdpi</RemoteDir>
348284
<Operation>1</Operation>
349285
</Platform>
350-
<Platform Name="Android64">
351-
<RemoteDir>res\drawable-hdpi</RemoteDir>
352-
<Operation>1</Operation>
353-
</Platform>
354286
</DeployClass>
355287
<DeployClass Name="Android_NotificationIcon48">
356288
<Platform Name="Android">
357289
<RemoteDir>res\drawable-xhdpi</RemoteDir>
358290
<Operation>1</Operation>
359291
</Platform>
360-
<Platform Name="Android64">
361-
<RemoteDir>res\drawable-xhdpi</RemoteDir>
362-
<Operation>1</Operation>
363-
</Platform>
364292
</DeployClass>
365293
<DeployClass Name="Android_NotificationIcon72">
366294
<Platform Name="Android">
367295
<RemoteDir>res\drawable-xxhdpi</RemoteDir>
368296
<Operation>1</Operation>
369297
</Platform>
370-
<Platform Name="Android64">
371-
<RemoteDir>res\drawable-xxhdpi</RemoteDir>
372-
<Operation>1</Operation>
373-
</Platform>
374298
</DeployClass>
375299
<DeployClass Name="Android_NotificationIcon96">
376300
<Platform Name="Android">
377301
<RemoteDir>res\drawable-xxxhdpi</RemoteDir>
378302
<Operation>1</Operation>
379303
</Platform>
380-
<Platform Name="Android64">
381-
<RemoteDir>res\drawable-xxxhdpi</RemoteDir>
382-
<Operation>1</Operation>
383-
</Platform>
384304
</DeployClass>
385305
<DeployClass Name="Android_SplashImage426">
386306
<Platform Name="Android">
387307
<RemoteDir>res\drawable-small</RemoteDir>
388308
<Operation>1</Operation>
389309
</Platform>
390-
<Platform Name="Android64">
391-
<RemoteDir>res\drawable-small</RemoteDir>
392-
<Operation>1</Operation>
393-
</Platform>
394310
</DeployClass>
395311
<DeployClass Name="Android_SplashImage470">
396312
<Platform Name="Android">
397313
<RemoteDir>res\drawable-normal</RemoteDir>
398314
<Operation>1</Operation>
399315
</Platform>
400-
<Platform Name="Android64">
401-
<RemoteDir>res\drawable-normal</RemoteDir>
402-
<Operation>1</Operation>
403-
</Platform>
404316
</DeployClass>
405317
<DeployClass Name="Android_SplashImage640">
406318
<Platform Name="Android">
407319
<RemoteDir>res\drawable-large</RemoteDir>
408320
<Operation>1</Operation>
409321
</Platform>
410-
<Platform Name="Android64">
411-
<RemoteDir>res\drawable-large</RemoteDir>
412-
<Operation>1</Operation>
413-
</Platform>
414322
</DeployClass>
415323
<DeployClass Name="Android_SplashImage960">
416324
<Platform Name="Android">
417325
<RemoteDir>res\drawable-xlarge</RemoteDir>
418326
<Operation>1</Operation>
419327
</Platform>
420-
<Platform Name="Android64">
421-
<RemoteDir>res\drawable-xlarge</RemoteDir>
422-
<Operation>1</Operation>
423-
</Platform>
424328
</DeployClass>
425329
<DeployClass Name="Android_Strings">
426330
<Platform Name="Android">
427331
<RemoteDir>res\values</RemoteDir>
428332
<Operation>1</Operation>
429333
</Platform>
430-
<Platform Name="Android64">
431-
<RemoteDir>res\values</RemoteDir>
432-
<Operation>1</Operation>
433-
</Platform>
434334
</DeployClass>
435335
<DeployClass Name="DebugSymbols">
436336
<Platform Name="iOSSimulator">
@@ -500,9 +400,6 @@
500400
<Platform Name="Android">
501401
<Operation>0</Operation>
502402
</Platform>
503-
<Platform Name="Android64">
504-
<Operation>0</Operation>
505-
</Platform>
506403
<Platform Name="iOSDevice32">
507404
<Operation>0</Operation>
508405
</Platform>
@@ -1030,9 +927,6 @@
1030927
<Platform Name="Android">
1031928
<Operation>1</Operation>
1032929
</Platform>
1033-
<Platform Name="Android64">
1034-
<Operation>1</Operation>
1035-
</Platform>
1036930
</DeployClass>
1037931
<DeployClass Name="ProjectiOSDeviceDebug">
1038932
<Platform Name="iOSDevice32">
@@ -1077,10 +971,6 @@
1077971
<RemoteDir>library\lib\armeabi-v7a</RemoteDir>
1078972
<Operation>1</Operation>
1079973
</Platform>
1080-
<Platform Name="Android64">
1081-
<RemoteDir>library\lib\arm64-v8a</RemoteDir>
1082-
<Operation>1</Operation>
1083-
</Platform>
1084974
<Platform Name="iOSDevice32">
1085975
<Operation>1</Operation>
1086976
</Platform>

samples/auth/boss-lock.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
{
22
"hash": "6ef9161b900632671022358216c7dfe7",
3-
"updated": "2019-10-15T21:14:03.4258359-03:00",
3+
"updated": "2021-01-29T08:10:14.3922009-03:00",
44
"installedModules": {
55
"github.com/hashload/horse": {
66
"name": "horse",
7-
"version": "v2.0.1",
8-
"hash": "a9e80dbc40536b989ad1089a85bb1c5b",
7+
"version": "2.0.8",
8+
"hash": "f0d9be7d8b5059a6e99397562d39306c",
99
"artifacts": {},
1010
"failed": false,
1111
"changed": false
1212
},
1313
"github.com/hashload/jhonson": {
1414
"name": "jhonson",
15-
"version": "1.0.6",
16-
"hash": "8a9fbc30fe30e276c369aa02adc425e0",
15+
"version": "1.1.1",
16+
"hash": "5740da7df1068b882117a68df8098c9a",
1717
"artifacts": {},
1818
"failed": false,
1919
"changed": false
2020
},
21-
"https://github.com/paolo-rossi/delphi-jose-jwt": {
21+
"github.com/paolo-rossi/delphi-jose-jwt": {
2222
"name": "delphi-jose-jwt",
2323
"version": "v2.5.2",
2424
"hash": "589e56e202f3acd41b4021314c54518c",

samples/auth/boss.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"mainsrc": "./",
77
"projects": [],
88
"dependencies": {
9-
"github.com/HashLoad/horse": "^2.0.0",
10-
"github.com/HashLoad/jhonson": "^1.0.3",
11-
"https://github.com/paolo-rossi/delphi-jose-jwt": "^v2.5.0"
9+
"github.com/hashload/horse": "^2.0.8",
10+
"github.com/hashload/jhonson": "^1.1.1",
11+
"github.com/paolo-rossi/delphi-jose-jwt": "^v2.5.2"
1212
}
1313
}

samples/auth/samples.dproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<UsingDelphiRTL>true</UsingDelphiRTL>
7777
<Icon_MainIcon>$(BDS)\bin\delphi_PROJECTICON.ico</Icon_MainIcon>
7878
<Icns_MainIcns>$(BDS)\bin\delphi_PROJECTICNS.icns</Icns_MainIcns>
79-
<DCC_UnitSearchPath>$(Horse);modules\.dcp;modules\.dcu;modules;modules\delphi-jose-jwt\Samples\Basic;modules\delphi-jose-jwt\Samples\Console;modules\delphi-jose-jwt\Samples\CustomClaims;modules\delphi-jose-jwt\Source\Common;modules\delphi-jose-jwt\Source\JOSE;modules\delphi-jose-jwt\Tests\Source;modules\horse\src;modules\jhonson\src;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
79+
<DCC_UnitSearchPath>$(Horse);$(DCC_UnitSearchPath);modules\.dcp;modules\.dcu;modules;modules\delphi-jose-jwt\Samples\Basic;modules\delphi-jose-jwt\Samples\Console;modules\delphi-jose-jwt\Samples\CustomClaims;modules\delphi-jose-jwt\Source\Common;modules\delphi-jose-jwt\Source\JOSE;modules\delphi-jose-jwt\Tests\Source;modules\horse\src;modules\jhonson\src</DCC_UnitSearchPath>
8080
<DCC_Framework>VCL;$(DCC_Framework)</DCC_Framework>
8181
<SanitizedProjectName>samples</SanitizedProjectName>
8282
</PropertyGroup>

samples/client/boss-lock.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
{
22
"hash": "6ef9161b900632671022358216c7dfe7",
3-
"updated": "2019-10-15T21:31:15.8953656-03:00",
3+
"updated": "2021-01-29T08:49:30.9916406-03:00",
44
"installedModules": {
55
"github.com/hashload/horse": {
66
"name": "horse",
7-
"version": "v2.0.1",
8-
"hash": "a9e80dbc40536b989ad1089a85bb1c5b",
9-
"artifacts": {},
10-
"failed": false,
11-
"changed": false
12-
},
13-
"github.com/hashload/horse-jwt": {
14-
"name": "horse-jwt",
15-
"version": "1.2.4",
16-
"hash": "c176942edc75431e24a5d8c0bb79aa5e",
7+
"version": "2.0.8",
8+
"hash": "f0d9be7d8b5059a6e99397562d39306c",
179
"artifacts": {},
1810
"failed": false,
1911
"changed": false

samples/client/boss.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"mainsrc": "./",
77
"projects": [],
88
"dependencies": {
9-
"github.com/HashLoad/horse": "^2.0.0",
10-
"github.com/HashLoad/horse-jwt": "^v1.1.6"
9+
"github.com/hashload/horse": "^2.0.8",
10+
"github.com/paolo-rossi/delphi-jose-jwt": "^v2.5.2"
1111
}
1212
}

0 commit comments

Comments
 (0)