smbcloud-auth 0.3.33 → 0.3.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +21 -0
- data/Cargo.lock +13 -284
- data/ext/auth/Cargo.toml +14 -8
- data/ext/auth/src/lib.rs +2 -2
- data/lib/auth/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cbba60ea66fc03c05e3d1c0a4f0c6dc2c2ca2e34d2d54e5401a7a75ae5e02aa8
|
|
4
|
+
data.tar.gz: 30da3c0d3c805842d6ab7a0d65d1d0b10c22580ec7bbbe1c4cdc2e32e816aef5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e6884fa1025095e3e05d788eeaf64614d5d22dbb17ef695a9e40edc3b682234fc84a57b4967f13598b1ce45f0e462d12071988faab62a98e64dca323228429cf
|
|
7
|
+
data.tar.gz: 00003bbfe3c3e7dfcbcd064cda7b54a6dcd6d978aafda7135ad681724774294cbee1d12175fbc2690516dc11c99aa29af4fef0d8f6322b8d25ce984c09a20415
|
data/.rubocop.yml
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
AllCops:
|
|
2
|
+
TargetRubyVersion: 3.1
|
|
3
|
+
NewCops: enable
|
|
4
|
+
Exclude:
|
|
5
|
+
- "vendor/**/*"
|
|
6
|
+
- "tmp/**/*"
|
|
7
|
+
- "target/**/*"
|
|
8
|
+
- "pkg/**/*"
|
|
9
|
+
|
|
10
|
+
# Native extension wrapper gems use a bare `module Auth; end` stub at the
|
|
11
|
+
# top level so Magnus can register the native methods into the right namespace.
|
|
12
|
+
# Having both that stub and the real `SmbCloud::Auth` implementation in one
|
|
13
|
+
# file is intentional — splitting them would break the require chain.
|
|
14
|
+
Style/OneClassPerFile:
|
|
15
|
+
Enabled: false
|
|
16
|
+
|
|
17
|
+
# Yard / CHANGELOG serve as the documentation source for this gem.
|
|
18
|
+
# Requiring top-level doc comments on every module and class adds noise
|
|
19
|
+
# without benefit for a thin wrapper library.
|
|
20
|
+
Style/Documentation:
|
|
21
|
+
Enabled: false
|
data/Cargo.lock
CHANGED
|
@@ -104,15 +104,14 @@ dependencies = [
|
|
|
104
104
|
|
|
105
105
|
[[package]]
|
|
106
106
|
name = "auth"
|
|
107
|
-
version = "0.3.
|
|
107
|
+
version = "0.3.35"
|
|
108
108
|
dependencies = [
|
|
109
109
|
"magnus",
|
|
110
110
|
"serde",
|
|
111
111
|
"serde_json",
|
|
112
|
-
"smbcloud-auth",
|
|
112
|
+
"smbcloud-auth-sdk",
|
|
113
113
|
"smbcloud-model",
|
|
114
114
|
"smbcloud-network",
|
|
115
|
-
"smbcloud-networking",
|
|
116
115
|
"tokio",
|
|
117
116
|
]
|
|
118
117
|
|
|
@@ -307,16 +306,6 @@ dependencies = [
|
|
|
307
306
|
"unicode-segmentation",
|
|
308
307
|
]
|
|
309
308
|
|
|
310
|
-
[[package]]
|
|
311
|
-
name = "core-foundation"
|
|
312
|
-
version = "0.9.4"
|
|
313
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
314
|
-
checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
|
|
315
|
-
dependencies = [
|
|
316
|
-
"core-foundation-sys",
|
|
317
|
-
"libc",
|
|
318
|
-
]
|
|
319
|
-
|
|
320
309
|
[[package]]
|
|
321
310
|
name = "core-foundation"
|
|
322
311
|
version = "0.10.1"
|
|
@@ -379,70 +368,24 @@ version = "1.15.0"
|
|
|
379
368
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
380
369
|
checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
|
|
381
370
|
|
|
382
|
-
[[package]]
|
|
383
|
-
name = "encoding_rs"
|
|
384
|
-
version = "0.8.35"
|
|
385
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
386
|
-
checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3"
|
|
387
|
-
dependencies = [
|
|
388
|
-
"cfg-if",
|
|
389
|
-
]
|
|
390
|
-
|
|
391
371
|
[[package]]
|
|
392
372
|
name = "equivalent"
|
|
393
373
|
version = "1.0.2"
|
|
394
374
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
395
375
|
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
396
376
|
|
|
397
|
-
[[package]]
|
|
398
|
-
name = "errno"
|
|
399
|
-
version = "0.3.14"
|
|
400
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
401
|
-
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
|
|
402
|
-
dependencies = [
|
|
403
|
-
"libc",
|
|
404
|
-
"windows-sys 0.61.2",
|
|
405
|
-
]
|
|
406
|
-
|
|
407
|
-
[[package]]
|
|
408
|
-
name = "fastrand"
|
|
409
|
-
version = "2.3.0"
|
|
410
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
411
|
-
checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
|
|
412
|
-
|
|
413
377
|
[[package]]
|
|
414
378
|
name = "find-msvc-tools"
|
|
415
379
|
version = "0.1.9"
|
|
416
380
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
417
381
|
checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
|
|
418
382
|
|
|
419
|
-
[[package]]
|
|
420
|
-
name = "fnv"
|
|
421
|
-
version = "1.0.7"
|
|
422
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
423
|
-
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
|
424
|
-
|
|
425
383
|
[[package]]
|
|
426
384
|
name = "foldhash"
|
|
427
385
|
version = "0.1.5"
|
|
428
386
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
429
387
|
checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
|
|
430
388
|
|
|
431
|
-
[[package]]
|
|
432
|
-
name = "foreign-types"
|
|
433
|
-
version = "0.3.2"
|
|
434
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
435
|
-
checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
|
|
436
|
-
dependencies = [
|
|
437
|
-
"foreign-types-shared",
|
|
438
|
-
]
|
|
439
|
-
|
|
440
|
-
[[package]]
|
|
441
|
-
name = "foreign-types-shared"
|
|
442
|
-
version = "0.1.1"
|
|
443
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
444
|
-
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
|
|
445
|
-
|
|
446
389
|
[[package]]
|
|
447
390
|
name = "form_urlencoded"
|
|
448
391
|
version = "1.2.2"
|
|
@@ -467,12 +410,6 @@ version = "0.3.32"
|
|
|
467
410
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
468
411
|
checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d"
|
|
469
412
|
|
|
470
|
-
[[package]]
|
|
471
|
-
name = "futures-sink"
|
|
472
|
-
version = "0.3.32"
|
|
473
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
474
|
-
checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893"
|
|
475
|
-
|
|
476
413
|
[[package]]
|
|
477
414
|
name = "futures-task"
|
|
478
415
|
version = "0.3.32"
|
|
@@ -560,25 +497,6 @@ version = "0.3.3"
|
|
|
560
497
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
561
498
|
checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
|
|
562
499
|
|
|
563
|
-
[[package]]
|
|
564
|
-
name = "h2"
|
|
565
|
-
version = "0.4.13"
|
|
566
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
567
|
-
checksum = "2f44da3a8150a6703ed5d34e164b875fd14c2cdab9af1252a9a1020bde2bdc54"
|
|
568
|
-
dependencies = [
|
|
569
|
-
"atomic-waker",
|
|
570
|
-
"bytes",
|
|
571
|
-
"fnv",
|
|
572
|
-
"futures-core",
|
|
573
|
-
"futures-sink",
|
|
574
|
-
"http",
|
|
575
|
-
"indexmap",
|
|
576
|
-
"slab",
|
|
577
|
-
"tokio",
|
|
578
|
-
"tokio-util",
|
|
579
|
-
"tracing",
|
|
580
|
-
]
|
|
581
|
-
|
|
582
500
|
[[package]]
|
|
583
501
|
name = "hashbrown"
|
|
584
502
|
version = "0.15.5"
|
|
@@ -673,7 +591,6 @@ dependencies = [
|
|
|
673
591
|
"bytes",
|
|
674
592
|
"futures-channel",
|
|
675
593
|
"futures-core",
|
|
676
|
-
"h2",
|
|
677
594
|
"http",
|
|
678
595
|
"http-body",
|
|
679
596
|
"httparse",
|
|
@@ -702,22 +619,6 @@ dependencies = [
|
|
|
702
619
|
"tower-service",
|
|
703
620
|
]
|
|
704
621
|
|
|
705
|
-
[[package]]
|
|
706
|
-
name = "hyper-tls"
|
|
707
|
-
version = "0.6.0"
|
|
708
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
709
|
-
checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0"
|
|
710
|
-
dependencies = [
|
|
711
|
-
"bytes",
|
|
712
|
-
"http-body-util",
|
|
713
|
-
"hyper",
|
|
714
|
-
"hyper-util",
|
|
715
|
-
"native-tls",
|
|
716
|
-
"tokio",
|
|
717
|
-
"tokio-native-tls",
|
|
718
|
-
"tower-service",
|
|
719
|
-
]
|
|
720
|
-
|
|
721
622
|
[[package]]
|
|
722
623
|
name = "hyper-util"
|
|
723
624
|
version = "0.1.20"
|
|
@@ -736,11 +637,9 @@ dependencies = [
|
|
|
736
637
|
"percent-encoding",
|
|
737
638
|
"pin-project-lite",
|
|
738
639
|
"socket2",
|
|
739
|
-
"system-configuration",
|
|
740
640
|
"tokio",
|
|
741
641
|
"tower-service",
|
|
742
642
|
"tracing",
|
|
743
|
-
"windows-registry",
|
|
744
643
|
]
|
|
745
644
|
|
|
746
645
|
[[package]]
|
|
@@ -970,12 +869,6 @@ dependencies = [
|
|
|
970
869
|
"windows-link",
|
|
971
870
|
]
|
|
972
871
|
|
|
973
|
-
[[package]]
|
|
974
|
-
name = "linux-raw-sys"
|
|
975
|
-
version = "0.12.1"
|
|
976
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
977
|
-
checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
|
|
978
|
-
|
|
979
872
|
[[package]]
|
|
980
873
|
name = "litemap"
|
|
981
874
|
version = "0.8.1"
|
|
@@ -1053,12 +946,6 @@ version = "2.8.0"
|
|
|
1053
946
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1054
947
|
checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79"
|
|
1055
948
|
|
|
1056
|
-
[[package]]
|
|
1057
|
-
name = "mime"
|
|
1058
|
-
version = "0.3.17"
|
|
1059
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1060
|
-
checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
|
|
1061
|
-
|
|
1062
949
|
[[package]]
|
|
1063
950
|
name = "minimal-lexical"
|
|
1064
951
|
version = "0.2.1"
|
|
@@ -1076,23 +963,6 @@ dependencies = [
|
|
|
1076
963
|
"windows-sys 0.61.2",
|
|
1077
964
|
]
|
|
1078
965
|
|
|
1079
|
-
[[package]]
|
|
1080
|
-
name = "native-tls"
|
|
1081
|
-
version = "0.2.18"
|
|
1082
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1083
|
-
checksum = "465500e14ea162429d264d44189adc38b199b62b1c21eea9f69e4b73cb03bbf2"
|
|
1084
|
-
dependencies = [
|
|
1085
|
-
"libc",
|
|
1086
|
-
"log",
|
|
1087
|
-
"openssl",
|
|
1088
|
-
"openssl-probe",
|
|
1089
|
-
"openssl-sys",
|
|
1090
|
-
"schannel",
|
|
1091
|
-
"security-framework",
|
|
1092
|
-
"security-framework-sys",
|
|
1093
|
-
"tempfile",
|
|
1094
|
-
]
|
|
1095
|
-
|
|
1096
966
|
[[package]]
|
|
1097
967
|
name = "nom"
|
|
1098
968
|
version = "7.1.3"
|
|
@@ -1133,50 +1003,12 @@ version = "1.70.2"
|
|
|
1133
1003
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1134
1004
|
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
|
|
1135
1005
|
|
|
1136
|
-
[[package]]
|
|
1137
|
-
name = "openssl"
|
|
1138
|
-
version = "0.10.76"
|
|
1139
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1140
|
-
checksum = "951c002c75e16ea2c65b8c7e4d3d51d5530d8dfa7d060b4776828c88cfb18ecf"
|
|
1141
|
-
dependencies = [
|
|
1142
|
-
"bitflags 2.11.0",
|
|
1143
|
-
"cfg-if",
|
|
1144
|
-
"foreign-types",
|
|
1145
|
-
"libc",
|
|
1146
|
-
"once_cell",
|
|
1147
|
-
"openssl-macros",
|
|
1148
|
-
"openssl-sys",
|
|
1149
|
-
]
|
|
1150
|
-
|
|
1151
|
-
[[package]]
|
|
1152
|
-
name = "openssl-macros"
|
|
1153
|
-
version = "0.1.1"
|
|
1154
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1155
|
-
checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
|
|
1156
|
-
dependencies = [
|
|
1157
|
-
"proc-macro2",
|
|
1158
|
-
"quote",
|
|
1159
|
-
"syn 2.0.117",
|
|
1160
|
-
]
|
|
1161
|
-
|
|
1162
1006
|
[[package]]
|
|
1163
1007
|
name = "openssl-probe"
|
|
1164
1008
|
version = "0.2.1"
|
|
1165
1009
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1166
1010
|
checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe"
|
|
1167
1011
|
|
|
1168
|
-
[[package]]
|
|
1169
|
-
name = "openssl-sys"
|
|
1170
|
-
version = "0.9.112"
|
|
1171
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1172
|
-
checksum = "57d55af3b3e226502be1526dfdba67ab0e9c96fc293004e79576b2b9edb0dbdb"
|
|
1173
|
-
dependencies = [
|
|
1174
|
-
"cc",
|
|
1175
|
-
"libc",
|
|
1176
|
-
"pkg-config",
|
|
1177
|
-
"vcpkg",
|
|
1178
|
-
]
|
|
1179
|
-
|
|
1180
1012
|
[[package]]
|
|
1181
1013
|
name = "percent-encoding"
|
|
1182
1014
|
version = "2.3.2"
|
|
@@ -1195,12 +1027,6 @@ version = "0.1.0"
|
|
|
1195
1027
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1196
1028
|
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
|
1197
1029
|
|
|
1198
|
-
[[package]]
|
|
1199
|
-
name = "pkg-config"
|
|
1200
|
-
version = "0.3.32"
|
|
1201
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1202
|
-
checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
|
|
1203
|
-
|
|
1204
1030
|
[[package]]
|
|
1205
1031
|
name = "potential_utf"
|
|
1206
1032
|
version = "0.1.4"
|
|
@@ -1434,20 +1260,15 @@ checksum = "eddd3ca559203180a307f12d114c268abf583f59b03cb906fd0b3ff8646c1147"
|
|
|
1434
1260
|
dependencies = [
|
|
1435
1261
|
"base64",
|
|
1436
1262
|
"bytes",
|
|
1437
|
-
"encoding_rs",
|
|
1438
1263
|
"futures-core",
|
|
1439
|
-
"h2",
|
|
1440
1264
|
"http",
|
|
1441
1265
|
"http-body",
|
|
1442
1266
|
"http-body-util",
|
|
1443
1267
|
"hyper",
|
|
1444
1268
|
"hyper-rustls",
|
|
1445
|
-
"hyper-tls",
|
|
1446
1269
|
"hyper-util",
|
|
1447
1270
|
"js-sys",
|
|
1448
1271
|
"log",
|
|
1449
|
-
"mime",
|
|
1450
|
-
"native-tls",
|
|
1451
1272
|
"percent-encoding",
|
|
1452
1273
|
"pin-project-lite",
|
|
1453
1274
|
"quinn",
|
|
@@ -1459,7 +1280,6 @@ dependencies = [
|
|
|
1459
1280
|
"serde_urlencoded",
|
|
1460
1281
|
"sync_wrapper",
|
|
1461
1282
|
"tokio",
|
|
1462
|
-
"tokio-native-tls",
|
|
1463
1283
|
"tokio-rustls",
|
|
1464
1284
|
"tower",
|
|
1465
1285
|
"tower-http",
|
|
@@ -1496,19 +1316,6 @@ version = "2.1.2"
|
|
|
1496
1316
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1497
1317
|
checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe"
|
|
1498
1318
|
|
|
1499
|
-
[[package]]
|
|
1500
|
-
name = "rustix"
|
|
1501
|
-
version = "1.1.4"
|
|
1502
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1503
|
-
checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190"
|
|
1504
|
-
dependencies = [
|
|
1505
|
-
"bitflags 2.11.0",
|
|
1506
|
-
"errno",
|
|
1507
|
-
"libc",
|
|
1508
|
-
"linux-raw-sys",
|
|
1509
|
-
"windows-sys 0.61.2",
|
|
1510
|
-
]
|
|
1511
|
-
|
|
1512
1319
|
[[package]]
|
|
1513
1320
|
name = "rustls"
|
|
1514
1321
|
version = "0.23.37"
|
|
@@ -1599,7 +1406,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
1599
1406
|
checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d"
|
|
1600
1407
|
dependencies = [
|
|
1601
1408
|
"bitflags 2.11.0",
|
|
1602
|
-
"core-foundation
|
|
1409
|
+
"core-foundation",
|
|
1603
1410
|
"core-foundation-sys",
|
|
1604
1411
|
"libc",
|
|
1605
1412
|
"security-framework-sys",
|
|
@@ -1738,25 +1545,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
1738
1545
|
checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
|
|
1739
1546
|
|
|
1740
1547
|
[[package]]
|
|
1741
|
-
name = "smbcloud-auth"
|
|
1742
|
-
version = "0.3.
|
|
1548
|
+
name = "smbcloud-auth-sdk"
|
|
1549
|
+
version = "0.3.34"
|
|
1550
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1551
|
+
checksum = "69ab2f5faa2a3c4588f073ce98e70ac74cfdbbab593c3e2f7d3cebf0b16de72a"
|
|
1743
1552
|
dependencies = [
|
|
1744
1553
|
"base64",
|
|
1745
|
-
"log",
|
|
1746
1554
|
"reqwest",
|
|
1747
1555
|
"serde",
|
|
1748
1556
|
"serde_json",
|
|
1749
1557
|
"sha2",
|
|
1750
1558
|
"smbcloud-model",
|
|
1751
1559
|
"smbcloud-network",
|
|
1752
|
-
"smbcloud-networking",
|
|
1753
1560
|
"url-builder",
|
|
1754
1561
|
"uuid",
|
|
1755
1562
|
]
|
|
1756
1563
|
|
|
1757
1564
|
[[package]]
|
|
1758
1565
|
name = "smbcloud-model"
|
|
1759
|
-
version = "0.3.
|
|
1566
|
+
version = "0.3.35"
|
|
1567
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1568
|
+
checksum = "eeba5e1371b12e9573e6eba49ea99ea990ec1b6befe7bfcafaf41b43e1cf331d"
|
|
1760
1569
|
dependencies = [
|
|
1761
1570
|
"chrono",
|
|
1762
1571
|
"log",
|
|
@@ -1772,7 +1581,9 @@ dependencies = [
|
|
|
1772
1581
|
|
|
1773
1582
|
[[package]]
|
|
1774
1583
|
name = "smbcloud-network"
|
|
1775
|
-
version = "0.3.
|
|
1584
|
+
version = "0.3.35"
|
|
1585
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1586
|
+
checksum = "1c236db19d4cea01cf48b584838fcc898745514c8e01c1c0cad0cba976cabefb"
|
|
1776
1587
|
dependencies = [
|
|
1777
1588
|
"clap 4.6.0",
|
|
1778
1589
|
"log",
|
|
@@ -1783,14 +1594,6 @@ dependencies = [
|
|
|
1783
1594
|
"wasm-bindgen",
|
|
1784
1595
|
]
|
|
1785
1596
|
|
|
1786
|
-
[[package]]
|
|
1787
|
-
name = "smbcloud-networking"
|
|
1788
|
-
version = "0.3.31"
|
|
1789
|
-
dependencies = [
|
|
1790
|
-
"smbcloud-network",
|
|
1791
|
-
"url-builder",
|
|
1792
|
-
]
|
|
1793
|
-
|
|
1794
1597
|
[[package]]
|
|
1795
1598
|
name = "socket2"
|
|
1796
1599
|
version = "0.6.3"
|
|
@@ -1951,40 +1754,6 @@ dependencies = [
|
|
|
1951
1754
|
"syn 2.0.117",
|
|
1952
1755
|
]
|
|
1953
1756
|
|
|
1954
|
-
[[package]]
|
|
1955
|
-
name = "system-configuration"
|
|
1956
|
-
version = "0.7.0"
|
|
1957
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1958
|
-
checksum = "a13f3d0daba03132c0aa9767f98351b3488edc2c100cda2d2ec2b04f3d8d3c8b"
|
|
1959
|
-
dependencies = [
|
|
1960
|
-
"bitflags 2.11.0",
|
|
1961
|
-
"core-foundation 0.9.4",
|
|
1962
|
-
"system-configuration-sys",
|
|
1963
|
-
]
|
|
1964
|
-
|
|
1965
|
-
[[package]]
|
|
1966
|
-
name = "system-configuration-sys"
|
|
1967
|
-
version = "0.6.0"
|
|
1968
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1969
|
-
checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4"
|
|
1970
|
-
dependencies = [
|
|
1971
|
-
"core-foundation-sys",
|
|
1972
|
-
"libc",
|
|
1973
|
-
]
|
|
1974
|
-
|
|
1975
|
-
[[package]]
|
|
1976
|
-
name = "tempfile"
|
|
1977
|
-
version = "3.27.0"
|
|
1978
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1979
|
-
checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
|
|
1980
|
-
dependencies = [
|
|
1981
|
-
"fastrand",
|
|
1982
|
-
"getrandom 0.4.2",
|
|
1983
|
-
"once_cell",
|
|
1984
|
-
"rustix",
|
|
1985
|
-
"windows-sys 0.61.2",
|
|
1986
|
-
]
|
|
1987
|
-
|
|
1988
1757
|
[[package]]
|
|
1989
1758
|
name = "textwrap"
|
|
1990
1759
|
version = "0.11.0"
|
|
@@ -2062,16 +1831,6 @@ dependencies = [
|
|
|
2062
1831
|
"windows-sys 0.61.2",
|
|
2063
1832
|
]
|
|
2064
1833
|
|
|
2065
|
-
[[package]]
|
|
2066
|
-
name = "tokio-native-tls"
|
|
2067
|
-
version = "0.3.1"
|
|
2068
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2069
|
-
checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2"
|
|
2070
|
-
dependencies = [
|
|
2071
|
-
"native-tls",
|
|
2072
|
-
"tokio",
|
|
2073
|
-
]
|
|
2074
|
-
|
|
2075
1834
|
[[package]]
|
|
2076
1835
|
name = "tokio-rustls"
|
|
2077
1836
|
version = "0.26.4"
|
|
@@ -2082,19 +1841,6 @@ dependencies = [
|
|
|
2082
1841
|
"tokio",
|
|
2083
1842
|
]
|
|
2084
1843
|
|
|
2085
|
-
[[package]]
|
|
2086
|
-
name = "tokio-util"
|
|
2087
|
-
version = "0.7.18"
|
|
2088
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2089
|
-
checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098"
|
|
2090
|
-
dependencies = [
|
|
2091
|
-
"bytes",
|
|
2092
|
-
"futures-core",
|
|
2093
|
-
"futures-sink",
|
|
2094
|
-
"pin-project-lite",
|
|
2095
|
-
"tokio",
|
|
2096
|
-
]
|
|
2097
|
-
|
|
2098
1844
|
[[package]]
|
|
2099
1845
|
name = "tower"
|
|
2100
1846
|
version = "0.5.3"
|
|
@@ -2312,12 +2058,6 @@ version = "0.1.1"
|
|
|
2312
2058
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2313
2059
|
checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65"
|
|
2314
2060
|
|
|
2315
|
-
[[package]]
|
|
2316
|
-
name = "vcpkg"
|
|
2317
|
-
version = "0.2.15"
|
|
2318
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2319
|
-
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
|
|
2320
|
-
|
|
2321
2061
|
[[package]]
|
|
2322
2062
|
name = "vec_map"
|
|
2323
2063
|
version = "0.8.2"
|
|
@@ -2563,17 +2303,6 @@ version = "0.2.1"
|
|
|
2563
2303
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2564
2304
|
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
2565
2305
|
|
|
2566
|
-
[[package]]
|
|
2567
|
-
name = "windows-registry"
|
|
2568
|
-
version = "0.6.1"
|
|
2569
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2570
|
-
checksum = "02752bf7fbdcce7f2a27a742f798510f3e5ad88dbe84871e5168e2120c3d5720"
|
|
2571
|
-
dependencies = [
|
|
2572
|
-
"windows-link",
|
|
2573
|
-
"windows-result",
|
|
2574
|
-
"windows-strings",
|
|
2575
|
-
]
|
|
2576
|
-
|
|
2577
2306
|
[[package]]
|
|
2578
2307
|
name = "windows-result"
|
|
2579
2308
|
version = "0.4.1"
|
data/ext/auth/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "auth"
|
|
3
|
-
version = "0.3.
|
|
3
|
+
version = "0.3.35"
|
|
4
4
|
edition = "2024"
|
|
5
5
|
authors = ["Seto Elkahfi <hej@setoelkahfi.se>"]
|
|
6
6
|
publish = false
|
|
@@ -9,11 +9,17 @@ publish = false
|
|
|
9
9
|
crate-type = ["cdylib"]
|
|
10
10
|
|
|
11
11
|
[dependencies]
|
|
12
|
-
magnus
|
|
13
|
-
serde
|
|
12
|
+
magnus = { version = "0.7.1" }
|
|
13
|
+
serde = { version = "1", features = ["derive"] }
|
|
14
14
|
serde_json = "1"
|
|
15
|
-
tokio
|
|
16
|
-
|
|
17
|
-
smbcloud-
|
|
18
|
-
smbcloud-
|
|
19
|
-
smbcloud-
|
|
15
|
+
tokio = { version = "1", features = ["rt-multi-thread"] }
|
|
16
|
+
|
|
17
|
+
# smbcloud-auth was split into smbcloud-auth-sdk (pure HTTP SDK, no CLI plumbing).
|
|
18
|
+
# smbcloud-networking is an internal dep of the old smbcloud-auth crate and is
|
|
19
|
+
# not re-exported by smbcloud-auth-sdk, so it is dropped here.
|
|
20
|
+
smbcloud-auth-sdk = { version = "0.3" }
|
|
21
|
+
# smbcloud-auth-sdk = { path = "./../../../../../crates/smbcloud-auth-sdk" }
|
|
22
|
+
smbcloud-model = { version = "0.3" }
|
|
23
|
+
# smbcloud-model = { path = "./../../../../../crates/smbcloud-model" }
|
|
24
|
+
smbcloud-network = { version = "0.3" }
|
|
25
|
+
# smbcloud-network = { path = "./../../../../../crates/smbcloud-network" }
|
data/ext/auth/src/lib.rs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
use magnus::{
|
|
1
|
+
use magnus::{function, prelude::*, Error, Ruby};
|
|
2
2
|
use serde::Serialize;
|
|
3
|
-
use
|
|
3
|
+
use smbcloud_auth_sdk::{
|
|
4
4
|
client_credentials::ClientCredentials, login::login_with_client, logout::logout_with_client,
|
|
5
5
|
me::me_with_client, remove::remove_with_client, signup::signup_with_client,
|
|
6
6
|
};
|
data/lib/auth/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smbcloud-auth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.35
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Seto Elkahfi
|
|
@@ -46,6 +46,7 @@ extensions:
|
|
|
46
46
|
- ext/auth/extconf.rb
|
|
47
47
|
extra_rdoc_files: []
|
|
48
48
|
files:
|
|
49
|
+
- ".rubocop.yml"
|
|
49
50
|
- ".ruby-version"
|
|
50
51
|
- CHANGELOG.md
|
|
51
52
|
- Cargo.lock
|