otdf-python 0.8.0__py3-none-any.whl → 0.9.1__py3-none-any.whl
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.
- {otdf_python-0.8.0.dist-info → otdf_python-0.9.1.dist-info}/METADATA +1 -1
- {otdf_python-0.8.0.dist-info → otdf_python-0.9.1.dist-info}/RECORD +37 -86
- otdf_python_proto/authorization/authorization_connect.py +5 -2
- otdf_python_proto/authorization/authorization_pb2.py +37 -44
- otdf_python_proto/authorization/authorization_pb2.pyi +0 -1
- otdf_python_proto/authorization/v2/authorization_connect.py +5 -2
- otdf_python_proto/entityresolution/entity_resolution_connect.py +5 -2
- otdf_python_proto/entityresolution/entity_resolution_pb2.py +16 -21
- otdf_python_proto/entityresolution/entity_resolution_pb2.pyi +1 -2
- otdf_python_proto/entityresolution/v2/entity_resolution_connect.py +5 -2
- otdf_python_proto/kas/kas_connect.py +5 -2
- otdf_python_proto/kas/kas_pb2.py +40 -50
- otdf_python_proto/kas/kas_pb2.pyi +0 -2
- otdf_python_proto/policy/actions/actions_connect.py +5 -2
- otdf_python_proto/policy/attributes/attributes_connect.py +5 -2
- otdf_python_proto/policy/attributes/attributes_pb2.py +106 -97
- otdf_python_proto/policy/attributes/attributes_pb2.pyi +16 -3
- otdf_python_proto/policy/kasregistry/key_access_server_registry_connect.py +5 -2
- otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.py +131 -118
- otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.pyi +23 -3
- otdf_python_proto/policy/keymanagement/key_management_connect.py +5 -2
- otdf_python_proto/policy/namespaces/namespaces_connect.py +5 -2
- otdf_python_proto/policy/namespaces/namespaces_pb2.py +42 -38
- otdf_python_proto/policy/objects_pb2.py +56 -56
- otdf_python_proto/policy/objects_pb2.pyi +24 -6
- otdf_python_proto/policy/obligations/obligations_connect.py +5 -2
- otdf_python_proto/policy/obligations/obligations_pb2.py +76 -72
- otdf_python_proto/policy/registeredresources/registered_resources_connect.py +5 -2
- otdf_python_proto/policy/registeredresources/registered_resources_pb2.py +50 -46
- otdf_python_proto/policy/resourcemapping/resource_mapping_connect.py +5 -2
- otdf_python_proto/policy/subjectmapping/subject_mapping_connect.py +5 -2
- otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.py +60 -52
- otdf_python_proto/policy/unsafe/unsafe_connect.py +5 -2
- otdf_python_proto/wellknownconfiguration/wellknown_configuration_connect.py +5 -2
- otdf_python_proto/wellknownconfiguration/wellknown_configuration_pb2.py +12 -13
- otdf_python_proto/wellknownconfiguration/wellknown_configuration_pb2.pyi +0 -1
- otdf_python/__init__.py +0 -24
- otdf_python/__main__.py +0 -11
- otdf_python/address_normalizer.py +0 -82
- otdf_python/aesgcm.py +0 -63
- otdf_python/assertion_config.py +0 -105
- otdf_python/asym_crypto.py +0 -194
- otdf_python/auth_headers.py +0 -35
- otdf_python/autoconfigure_utils.py +0 -127
- otdf_python/cli.py +0 -598
- otdf_python/collection_store.py +0 -53
- otdf_python/collection_store_impl.py +0 -27
- otdf_python/config.py +0 -82
- otdf_python/connect_client.py +0 -1
- otdf_python/constants.py +0 -3
- otdf_python/crypto_utils.py +0 -82
- otdf_python/dpop.py +0 -79
- otdf_python/ecc_constants.py +0 -174
- otdf_python/ecc_mode.py +0 -88
- otdf_python/ecdh.py +0 -310
- otdf_python/eckeypair.py +0 -80
- otdf_python/header.py +0 -186
- otdf_python/invalid_zip_exception.py +0 -12
- otdf_python/kas_allowlist.py +0 -182
- otdf_python/kas_client.py +0 -748
- otdf_python/kas_connect_rpc_client.py +0 -251
- otdf_python/kas_info.py +0 -27
- otdf_python/kas_key_cache.py +0 -53
- otdf_python/key_type.py +0 -35
- otdf_python/key_type_constants.py +0 -37
- otdf_python/manifest.py +0 -239
- otdf_python/nanotdf.py +0 -863
- otdf_python/nanotdf_ecdsa_struct.py +0 -127
- otdf_python/nanotdf_type.py +0 -55
- otdf_python/policy_binding_serializer.py +0 -42
- otdf_python/policy_info.py +0 -61
- otdf_python/policy_object.py +0 -30
- otdf_python/policy_stub.py +0 -4
- otdf_python/resource_locator.py +0 -181
- otdf_python/sdk.py +0 -446
- otdf_python/sdk_builder.py +0 -513
- otdf_python/sdk_exceptions.py +0 -26
- otdf_python/symmetric_and_payload_config.py +0 -36
- otdf_python/tdf.py +0 -517
- otdf_python/tdf_reader.py +0 -151
- otdf_python/tdf_writer.py +0 -28
- otdf_python/token_source.py +0 -35
- otdf_python/version.py +0 -62
- otdf_python/zip_reader.py +0 -55
- otdf_python/zip_writer.py +0 -81
- {otdf_python-0.8.0.dist-info → otdf_python-0.9.1.dist-info}/WHEEL +0 -0
|
@@ -1,59 +1,10 @@
|
|
|
1
|
-
otdf_python/__init__.py,sha256=q93tKt2r5-_244iKPeJf4ja1ftlmOmdRQnXWAZsxISI,542
|
|
2
|
-
otdf_python/__main__.py,sha256=VuImcvrzCHTYOwQ-yS9HQwKmF2O6lORf1psmOkdZIh0,275
|
|
3
|
-
otdf_python/address_normalizer.py,sha256=7gigfxFIFnDILi8BGQipuLl-Cr71pwi5vE72hbpLdmI,2850
|
|
4
|
-
otdf_python/aesgcm.py,sha256=jQgVSEeKM6MJuH2tvlClXIzvg11a5O_GEY9Sh56CrxE,1947
|
|
5
|
-
otdf_python/assertion_config.py,sha256=rw0SIB3xG-nAeb5r_liuxLphU4tcj-zlq8rVvXncX-Y,2317
|
|
6
|
-
otdf_python/asym_crypto.py,sha256=EYkMNhZJP5khH0IvICTOG2bMg_TMvd6wXDu5zW0jpj4,7234
|
|
7
|
-
otdf_python/auth_headers.py,sha256=onS-fXsIZN4l33yQS9VspPvoiAnfM2B0nNAVL_YIGZ0,987
|
|
8
|
-
otdf_python/autoconfigure_utils.py,sha256=W5aJ0tC7HWfGb_1Mva_oxgduUzSpPoyDeaq0rPwgPAs,3689
|
|
9
|
-
otdf_python/cli.py,sha256=icooiGgRh8H1IlP-_iO7paLB60IXUSaSacODABeqrS4,21165
|
|
10
|
-
otdf_python/collection_store.py,sha256=sYL6VMFDBfHfCCLk14iybeC_qoUlpJFB0wOMt1bdwpY,1429
|
|
11
|
-
otdf_python/collection_store_impl.py,sha256=3RqO3rvDCosajKpuls5DiO2_SWYsNQul9_9L7n-lQ68,758
|
|
12
|
-
otdf_python/config.py,sha256=l1Ykg1gFUrFZTnd6bwMI6oi_clR5uCZ_Y1qH7QKtW90,2523
|
|
13
|
-
otdf_python/connect_client.py,sha256=TpHpcU2t19pSqWn30cqzfM48nDG590BfNTlDPgUu054,45
|
|
14
|
-
otdf_python/constants.py,sha256=ArVgY9OF2fkVM7dg0-9N3xs0xmKy0DWDUlVcO0_n9PQ,102
|
|
15
|
-
otdf_python/crypto_utils.py,sha256=x0cEltQDVW8bxJ9L555KQKJU4_dI5Uw2h7j9oQGNT38,2933
|
|
16
|
-
otdf_python/dpop.py,sha256=-76xjKz9Alf529StB_jQWhr-gCAOBkpssaSYQw2EH1A,2295
|
|
17
|
-
otdf_python/ecc_constants.py,sha256=rCVZCWZ9zhyq2sqnUGFadiZ1CwXXe5T9olDtFYCJCIs,5846
|
|
18
|
-
otdf_python/ecc_mode.py,sha256=aEAISAZpXcS72gXRUlYgH8n8EJP7zIpOeSVPxUJdAG8,3163
|
|
19
|
-
otdf_python/ecdh.py,sha256=fwxE80qFSIkfJeUz3GNhEndRKkZrBN06FE1gnvwUHHI,10201
|
|
20
|
-
otdf_python/eckeypair.py,sha256=qcPKv0OS1lYxRICj9dhAW_eMz32anFBtpI8EJfXxpX0,2470
|
|
21
|
-
otdf_python/header.py,sha256=peG14kE_KAUCW4fY82sqcWF5zTAVAnJfFXCHtC8Z0iQ,7189
|
|
22
|
-
otdf_python/invalid_zip_exception.py,sha256=M_bAiXEjJdxPfA178YH-uHGRwMrNBKzjQzlQ54aDP2w,292
|
|
23
|
-
otdf_python/kas_allowlist.py,sha256=0yX3J9J1od_ew0sp3pX6kfav39pTz7aBBpMnVkE5T7s,5884
|
|
24
|
-
otdf_python/kas_client.py,sha256=kcLpdkFDN3LVmlmSuaEm6EKtPsbOK5RCsClPdm8bpAU,27536
|
|
25
|
-
otdf_python/kas_connect_rpc_client.py,sha256=Y2w0SPh4QZxLLhneKky8N20jd9UQmShmAnLo_c9kOXk,9113
|
|
26
|
-
otdf_python/kas_info.py,sha256=R_zfW8m2n2PT1-Enk6NG5K8YIjWvb1g-PQ6M0bZX-o8,739
|
|
27
|
-
otdf_python/kas_key_cache.py,sha256=6hfzRAg9o_IfRErWSe-_gGTG9kRyYENMizMY1Shkmfk,1548
|
|
28
|
-
otdf_python/key_type.py,sha256=2gQlXOj35J3ISCcWjU3sGYUxmlZR47BMq6Xr2yoKA8k,928
|
|
29
|
-
otdf_python/key_type_constants.py,sha256=0aqG1N1Ay0Z8o5fsq7fAiJXQeD6k-fxp06If__BGcR4,955
|
|
30
|
-
otdf_python/manifest.py,sha256=aglGw9EdtZZIxmwqy82sV5wum_mKkjzew4brSgxmJjc,7047
|
|
31
|
-
otdf_python/nanotdf.py,sha256=y1mLktlZ-mRCup2vzGY4ZbFeNEhWpCYLOZYjzTSPEtc,33921
|
|
32
|
-
otdf_python/nanotdf_ecdsa_struct.py,sha256=C-qQnroJGO9yXrBb-p-rYMSxf2gS8kF6SCUvO-njAXU,4067
|
|
33
|
-
otdf_python/nanotdf_type.py,sha256=3MQzT6lJ3WJKMICFyyYZXX2_cFYcZ5G4m1uif-l9Nxo,1112
|
|
34
|
-
otdf_python/policy_binding_serializer.py,sha256=hA-M5BhEa3Q0bpjbpdiaJ6mivwx9UGDdmB8HvFG7SY0,1272
|
|
35
|
-
otdf_python/policy_info.py,sha256=aq74dZg9PhTZ6cMkZyFsu3D754C5YijFMiuoYEL-1bY,2076
|
|
36
|
-
otdf_python/policy_object.py,sha256=LikIsahPkKr-iYA0lhgQitCbh8CsmxUBYyBs6VYfmxY,512
|
|
37
|
-
otdf_python/policy_stub.py,sha256=RfU_fICqsAOnTXOHpKhtKC0RJ3KoWhDxO0XecZWM548,159
|
|
38
|
-
otdf_python/resource_locator.py,sha256=bjK935XcfNq-PyqidHNq8eIiPeZEStYdQvmQ9B9GY20,6290
|
|
39
|
-
otdf_python/sdk.py,sha256=6yQbaHS6EUqiEOEn2hI3Ox4OYlYQHDuxjqHjYo8LV5A,15060
|
|
40
|
-
otdf_python/sdk_builder.py,sha256=N57HrXADKLSP3bGiltYV058DxgrJyMzhsKuqNuKBqqo,17659
|
|
41
|
-
otdf_python/sdk_exceptions.py,sha256=2GElGyM5LKN8Uh_lAiT6Ho4oNRWYRQsMNOK5s2jiv28,687
|
|
42
|
-
otdf_python/symmetric_and_payload_config.py,sha256=iPHeZSeY9BjsQ-wkvdm6-FIR7773EgGiaIvSG-ICOHw,1158
|
|
43
|
-
otdf_python/tdf.py,sha256=lqaSSGfd-nzlmjpYoXa6ZLihZIJA170dwodKt_iRko8,20799
|
|
44
|
-
otdf_python/tdf_reader.py,sha256=f-LCb_Z4TwaByT8_gu-cpJIdW8lk3741jCAd-fJOLJg,5229
|
|
45
|
-
otdf_python/tdf_writer.py,sha256=FLm1P26J4p6WPyKsjOb7QLYJqDIMDsBONqBW_JuFxyw,798
|
|
46
|
-
otdf_python/token_source.py,sha256=Ow4bZqPqVxbZx64M7pLxQarVlPfiz15ZvZr9H17_ZMY,1021
|
|
47
|
-
otdf_python/version.py,sha256=uDKJKsSQoaEH-JlqAwiXDxceLRX9hkG4I3NVLEfDCHA,2025
|
|
48
|
-
otdf_python/zip_reader.py,sha256=qrHv-ecs09tz99ZKdOMiWaciYf2XsQOUTiXy1JHjuEY,1705
|
|
49
|
-
otdf_python/zip_writer.py,sha256=5-KChgEXCf4TKAAML-R8cqpAiap85ur1l2lJCCac6BE,2405
|
|
50
1
|
otdf_python_proto/__init__.py,sha256=dK3iYz7kos_DmjPzmboF1QkojrA0jFNFgmSEljgReR4,3211
|
|
51
2
|
otdf_python_proto/authorization/__init__.py,sha256=PQ8pNK86JNhOg7rcvbOQzAx5nm0hdjQqj-xIwDD4izY,237
|
|
52
|
-
otdf_python_proto/authorization/authorization_connect.py,sha256=
|
|
53
|
-
otdf_python_proto/authorization/authorization_pb2.py,sha256=
|
|
54
|
-
otdf_python_proto/authorization/authorization_pb2.pyi,sha256=
|
|
3
|
+
otdf_python_proto/authorization/authorization_connect.py,sha256=sD5FEABMXq47ICNsdiwnAw9FjLHTvJAoZm4W4Q1VsIM,12521
|
|
4
|
+
otdf_python_proto/authorization/authorization_pb2.py,sha256=5AmimPWIr1un-hBvZiH8BcnAIYp-dO89jdtgYVKPvvo,8079
|
|
5
|
+
otdf_python_proto/authorization/authorization_pb2.pyi,sha256=OT7-6IuBHYo65rRWO7b9jhwUoYwYDTqYfJCT-zkfIlo,8868
|
|
55
6
|
otdf_python_proto/authorization/v2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
56
|
-
otdf_python_proto/authorization/v2/authorization_connect.py,sha256=
|
|
7
|
+
otdf_python_proto/authorization/v2/authorization_connect.py,sha256=fQMJK4zSYeK0MBp2uYOXY9p5p80sHHoDiuVDI76Y9Nk,16537
|
|
57
8
|
otdf_python_proto/authorization/v2/authorization_pb2.py,sha256=Gg4MzDwG_yPzN_PQ77sjAIwp3LpvvDFSr42Y-OSoDFM,15788
|
|
58
9
|
otdf_python_proto/authorization/v2/authorization_pb2.pyi,sha256=-NZ3-nq9YKMF-xzMmFgvbvdZL75XohrHngEaFfN9xFc,8370
|
|
59
10
|
otdf_python_proto/common/__init__.py,sha256=cJlVANj7I0xoLUerst-2su60AFtywyrFHPOIKIzS65Q,35
|
|
@@ -63,17 +14,17 @@ otdf_python_proto/entity/__init__.py,sha256=Q5bx_n1hD8DQR8f78iflJzw90RJZLeIj--Q6
|
|
|
63
14
|
otdf_python_proto/entity/entity_pb2.py,sha256=LpdkNpqn-L808SfYI6JWATfmud_9oYRpHbnX02qXQB8,3178
|
|
64
15
|
otdf_python_proto/entity/entity_pb2.pyi,sha256=vkQau-BYeQvGV_Sr0YqqPDgiLuecErOey_Dn0zpHTN4,2423
|
|
65
16
|
otdf_python_proto/entityresolution/__init__.py,sha256=ehWfHEQ42uXht7gxRIr4jlwGq-OcYZUDLqwyhDo9-oI,228
|
|
66
|
-
otdf_python_proto/entityresolution/entity_resolution_connect.py,sha256=
|
|
67
|
-
otdf_python_proto/entityresolution/entity_resolution_pb2.py,sha256=
|
|
68
|
-
otdf_python_proto/entityresolution/entity_resolution_pb2.pyi,sha256=
|
|
17
|
+
otdf_python_proto/entityresolution/entity_resolution_connect.py,sha256=fmwqk-x6AN3Wt6uQJE86GLW1pNk38EHQJD-PnDr3akM,9784
|
|
18
|
+
otdf_python_proto/entityresolution/entity_resolution_pb2.py,sha256=x6N2k7SzWwcgL3W6ME913SNf3vb1WJ44bUw5Vm6Qmnk,4260
|
|
19
|
+
otdf_python_proto/entityresolution/entity_resolution_pb2.pyi,sha256=WN09tI1Pxnyb7YuCTPxZtw7MwD01B3Od735ZOwL_gFg,2942
|
|
69
20
|
otdf_python_proto/entityresolution/v2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
70
|
-
otdf_python_proto/entityresolution/v2/entity_resolution_connect.py,sha256=
|
|
21
|
+
otdf_python_proto/entityresolution/v2/entity_resolution_connect.py,sha256=RHvX4E5NDuWf6TPLUMEWPJ-hitm_61OfxpTLQXujaX8,10175
|
|
71
22
|
otdf_python_proto/entityresolution/v2/entity_resolution_pb2.py,sha256=YRjPYa8FK5owNPohUSyBAKWUFPm5eCRYmCzU1boK5Kw,5310
|
|
72
23
|
otdf_python_proto/entityresolution/v2/entity_resolution_pb2.pyi,sha256=G7Tv8hlCsWQfZxd7BWC2pHD96vIIw1Tbh4j--N7a9Hg,3888
|
|
73
24
|
otdf_python_proto/kas/__init__.py,sha256=k72BA06RTfm0yGAL-H6dDkQFBUiZJXT3RHnIQIRpwhs,220
|
|
74
|
-
otdf_python_proto/kas/kas_connect.py,sha256=
|
|
75
|
-
otdf_python_proto/kas/kas_pb2.py,sha256=
|
|
76
|
-
otdf_python_proto/kas/kas_pb2.pyi,sha256=
|
|
25
|
+
otdf_python_proto/kas/kas_connect.py,sha256=37WZK3xSH8XHo_31or0TQfvLbmNujdA40dkPwLbc2TE,11084
|
|
26
|
+
otdf_python_proto/kas/kas_pb2.py,sha256=AvQUk51ppL42Eo1pmUl0oltRT-vVNphdcrGJ3gSbepM,9453
|
|
27
|
+
otdf_python_proto/kas/kas_pb2.pyi,sha256=kQQ81tsX3wpwoaH0XNKtVVzvxGEiup_oStXq5EVlMV8,8456
|
|
77
28
|
otdf_python_proto/legacy_grpc/__init__.py,sha256=zpWWFl-aIfDdJqBnMFk6lDSzsKfZ4pjkp2LYxGE1S9c,40
|
|
78
29
|
otdf_python_proto/legacy_grpc/authorization/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
79
30
|
otdf_python_proto/legacy_grpc/authorization/authorization_pb2_grpc.py,sha256=Xn_jbL7EyOKolHp_0wxOqN3Eqm0eWjb4meB6X8xJPM0,6922
|
|
@@ -122,54 +73,54 @@ otdf_python_proto/logger/audit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
122
73
|
otdf_python_proto/logger/audit/test_pb2.py,sha256=FbhQNp-ENPvhFlYtGqPaq9aaFLxXn_NaxOO0PJzvFzI,3028
|
|
123
74
|
otdf_python_proto/logger/audit/test_pb2.pyi,sha256=uqHbuyrpKspEObm4F3edJthw2IZSdojaoBalXEQgA1U,2346
|
|
124
75
|
otdf_python_proto/policy/__init__.py,sha256=yrbwH5e3KjoqN4PSnFcOfC4xV9YuvzPa8OxDlGoOfkk,35
|
|
125
|
-
otdf_python_proto/policy/objects_pb2.py,sha256=
|
|
126
|
-
otdf_python_proto/policy/objects_pb2.pyi,sha256=
|
|
76
|
+
otdf_python_proto/policy/objects_pb2.py,sha256=o6qwS19BJgH9bVVsNLgErNEZ0c2CKARoyKabWe-C5gs,26092
|
|
77
|
+
otdf_python_proto/policy/objects_pb2.pyi,sha256=yHB2g5cCzOB9puK29-UWYH7hUay6cQg3MA0EdM4RyGE,29802
|
|
127
78
|
otdf_python_proto/policy/selectors_pb2.py,sha256=4apD99l1f2NRrhuuEluOs5T1wiCUMuVJCyA_8EQqA7k,5554
|
|
128
79
|
otdf_python_proto/policy/selectors_pb2.pyi,sha256=PoWaqc69hLAzhNZPpuESVna8hTWtHF_47UIiASm4J-M,5598
|
|
129
80
|
otdf_python_proto/policy/actions/__init__.py,sha256=GPRrOk6_i6Jgj9PrWX8tCdqYoVKdJJp7ucu1XtY3iFU,208
|
|
130
|
-
otdf_python_proto/policy/actions/actions_connect.py,sha256=
|
|
81
|
+
otdf_python_proto/policy/actions/actions_connect.py,sha256=ICw24aQ_bzLIjlZqodSzkukhyYsPHAlE1No1aFSt2AU,18314
|
|
131
82
|
otdf_python_proto/policy/actions/actions_pb2.py,sha256=Yip1vFSy-jeoHroTxivoR3_NGWjZ61632x1PcKhyNDU,11392
|
|
132
83
|
otdf_python_proto/policy/actions/actions_pb2.pyi,sha256=3ffqIZQmW3TRhVOErJ-KbrlfDrMF00E6WvwFk55NGMc,5029
|
|
133
84
|
otdf_python_proto/policy/attributes/__init__.py,sha256=3lHYfbXDGAuuhfSwb1YJfVJJWPvTtcoshyhLOi_hIr0,226
|
|
134
|
-
otdf_python_proto/policy/attributes/attributes_connect.py,sha256=
|
|
135
|
-
otdf_python_proto/policy/attributes/attributes_pb2.py,sha256=
|
|
136
|
-
otdf_python_proto/policy/attributes/attributes_pb2.pyi,sha256=
|
|
85
|
+
otdf_python_proto/policy/attributes/attributes_connect.py,sha256=xTzJhEHrnNnlRz9ml5o2YQ7rmTomv4qMm0o9jdnLstw,72678
|
|
86
|
+
otdf_python_proto/policy/attributes/attributes_pb2.py,sha256=V19LDbG78AiPVSBn-GYAi7L2yJFhz4lvJzgXBtcHpl8,35649
|
|
87
|
+
otdf_python_proto/policy/attributes/attributes_pb2.pyi,sha256=N-wsHtTz5b341Wtm-ZrYpPwQBThJaDUaJCgCI4J5IQk,18587
|
|
137
88
|
otdf_python_proto/policy/kasregistry/__init__.py,sha256=zj_8G65KIhOSiOeMkyMEZFomWYkfD9E5aWASgwV4n3M,295
|
|
138
|
-
otdf_python_proto/policy/kasregistry/key_access_server_registry_connect.py,sha256=
|
|
139
|
-
otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.py,sha256=
|
|
140
|
-
otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.pyi,sha256=
|
|
89
|
+
otdf_python_proto/policy/kasregistry/key_access_server_registry_connect.py,sha256=6wJE1WSPbb6oZhevrdEocFr32whwCxbof6dNS3O0l2A,56809
|
|
90
|
+
otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.py,sha256=LDHukZtFQovQROQ_8EPIkQKG63OTuenYg4AFL9-e3Jc,50892
|
|
91
|
+
otdf_python_proto/policy/kasregistry/key_access_server_registry_pb2.pyi,sha256=Puo-OXA5vzTQJUK2DUMRD0o624lTpS09BDZUtRFcJe8,28981
|
|
141
92
|
otdf_python_proto/policy/keymanagement/__init__.py,sha256=baBSBdjBbaErAIjjn0GxUPfYYRq7R4MfsrvpK02uews,245
|
|
142
|
-
otdf_python_proto/policy/keymanagement/key_management_connect.py,sha256
|
|
93
|
+
otdf_python_proto/policy/keymanagement/key_management_connect.py,sha256=IPJqI9uuteOyepXRLNl3EVHk95QoBm1H9OPUcqqDV_c,21110
|
|
143
94
|
otdf_python_proto/policy/keymanagement/key_management_pb2.py,sha256=d0JVCBB8Vrm4O7oRFpmi0v9QhRFQ_fq84zrAMYYTrX0,8970
|
|
144
95
|
otdf_python_proto/policy/keymanagement/key_management_pb2.pyi,sha256=IISqg5QnUjY9xV53vDxLr66yMJqMRyYZkmosHkDoNLY,4681
|
|
145
96
|
otdf_python_proto/policy/namespaces/__init__.py,sha256=JIdic8yq55x9BrQzaJtgEp3J7AcnOZ1c0eiTXd2iDpw,222
|
|
146
|
-
otdf_python_proto/policy/namespaces/namespaces_connect.py,sha256=
|
|
147
|
-
otdf_python_proto/policy/namespaces/namespaces_pb2.py,sha256=
|
|
97
|
+
otdf_python_proto/policy/namespaces/namespaces_connect.py,sha256=GMeMDNnwaMxya-Z4_knW2lmfKIy3VLIhsmmQIbXgOMg,35390
|
|
98
|
+
otdf_python_proto/policy/namespaces/namespaces_pb2.py,sha256=RspsRSo4NcvdF-reZ5rYmKYDkHsIDbJv13kyf2wdrMM,17048
|
|
148
99
|
otdf_python_proto/policy/namespaces/namespaces_pb2.pyi,sha256=7IGB_9xo_GoAbl5BngR9whm2fPKCZtpIrMEE9ZXYdos,8477
|
|
149
100
|
otdf_python_proto/policy/obligations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
150
|
-
otdf_python_proto/policy/obligations/obligations_connect.py,sha256=
|
|
151
|
-
otdf_python_proto/policy/obligations/obligations_pb2.py,sha256=
|
|
101
|
+
otdf_python_proto/policy/obligations/obligations_connect.py,sha256=JLr2II45VlNmYc5ROpurCGPgZayXdRC6SAnnIdAZAOM,56518
|
|
102
|
+
otdf_python_proto/policy/obligations/obligations_pb2.py,sha256=K9VK8KZ985yPW3qkdpgghSw74_30M7zj9auRxNKl0Pk,30406
|
|
152
103
|
otdf_python_proto/policy/obligations/obligations_pb2.pyi,sha256=MZ3pR_UAEkeGKSnOcHaVtCyG8STlpakrxgonWuYr1v8,15155
|
|
153
104
|
otdf_python_proto/policy/registeredresources/__init__.py,sha256=U6A5CRMFUhwjxOdxaRpgfIBx9bJZ7KcnBNKPQouSaeI,281
|
|
154
|
-
otdf_python_proto/policy/registeredresources/registered_resources_connect.py,sha256=
|
|
155
|
-
otdf_python_proto/policy/registeredresources/registered_resources_pb2.py,sha256=
|
|
105
|
+
otdf_python_proto/policy/registeredresources/registered_resources_connect.py,sha256=1oPpM55PvZo1ztHjpHi4-7XblQUECkXTN8V_KFjDQZc,48796
|
|
106
|
+
otdf_python_proto/policy/registeredresources/registered_resources_pb2.py,sha256=HqJGXUadON7mppGYhbDgYLVa-jhdHEJVw4BRiZPFm8w,27398
|
|
156
107
|
otdf_python_proto/policy/registeredresources/registered_resources_pb2.pyi,sha256=YsGfL7N1-UU2SR9O9PVgw9J0cjrbqZRQWOMVFEhJyzQ,12293
|
|
157
108
|
otdf_python_proto/policy/resourcemapping/__init__.py,sha256=9_It9dJRLAOIf1y9n3LxEQa7-WI51B_E3OfhKBNuFw4,257
|
|
158
|
-
otdf_python_proto/policy/resourcemapping/resource_mapping_connect.py,sha256=
|
|
109
|
+
otdf_python_proto/policy/resourcemapping/resource_mapping_connect.py,sha256=fRjz4H_Z1syA08UMOGp1aDqHrlQrZZm7uhcNdJkycjY,46632
|
|
159
110
|
otdf_python_proto/policy/resourcemapping/resource_mapping_pb2.py,sha256=vnMJu2jEr3NHH5aUx5hquQAyHlUwtgh2lL9YdXil2bs,21745
|
|
160
111
|
otdf_python_proto/policy/resourcemapping/resource_mapping_pb2.pyi,sha256=B4I6nj1bHNI8VZImfuBeXJ6S_-tovN0DbwfncTujUw4,10380
|
|
161
112
|
otdf_python_proto/policy/subjectmapping/__init__.py,sha256=Cyaic3XmuOOqIWOVO31JJvafc-YQMoLCcohzoeZU6Yc,251
|
|
162
|
-
otdf_python_proto/policy/subjectmapping/subject_mapping_connect.py,sha256=
|
|
163
|
-
otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.py,sha256=
|
|
113
|
+
otdf_python_proto/policy/subjectmapping/subject_mapping_connect.py,sha256=gGCNUtspa2SpT2t8qYl87toYp-BBMCXTkM11fitN3Qw,49663
|
|
114
|
+
otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.py,sha256=G1A57TeYabL3Wes312qvrRNeFtTrZWT0Hw6eD3uNXK8,24668
|
|
164
115
|
otdf_python_proto/policy/subjectmapping/subject_mapping_pb2.pyi,sha256=pI3Nmq56TLDtEoQ76u-GS8j1CsFk2NsouBb-gbxi6t8,14321
|
|
165
116
|
otdf_python_proto/policy/unsafe/__init__.py,sha256=1TYTtYZyHxNQ2HaMCONHJ1U9dZDp3ZoZv19wZ78NhBI,202
|
|
166
|
-
otdf_python_proto/policy/unsafe/unsafe_connect.py,sha256=
|
|
117
|
+
otdf_python_proto/policy/unsafe/unsafe_connect.py,sha256=pwrIwXFx70Td1JPgP-RjIYG6Vm_9LQCSHOwyM0r8WcU,37429
|
|
167
118
|
otdf_python_proto/policy/unsafe/unsafe_pb2.py,sha256=MiO5LlGcHP3E9r0lRyL4XdUZWnXc6Qc5TyQFLXkY0CU,15704
|
|
168
119
|
otdf_python_proto/policy/unsafe/unsafe_pb2.pyi,sha256=bV97-o-rFYEaXsFRpBL_R_wQMZj2_xInOYjCTPf5MXo,6316
|
|
169
120
|
otdf_python_proto/wellknownconfiguration/__init__.py,sha256=xK8XUrwCL9elWuMTx6vVgWdWdcACugoF0b5OYsFclj4,240
|
|
170
|
-
otdf_python_proto/wellknownconfiguration/wellknown_configuration_connect.py,sha256=
|
|
171
|
-
otdf_python_proto/wellknownconfiguration/wellknown_configuration_pb2.py,sha256=
|
|
172
|
-
otdf_python_proto/wellknownconfiguration/wellknown_configuration_pb2.pyi,sha256=
|
|
173
|
-
otdf_python-0.
|
|
174
|
-
otdf_python-0.
|
|
175
|
-
otdf_python-0.
|
|
121
|
+
otdf_python_proto/wellknownconfiguration/wellknown_configuration_connect.py,sha256=HShWKFfd_7p1aZzqZKJiT1lDma0IINTB4kfv_DcrBA0,6585
|
|
122
|
+
otdf_python_proto/wellknownconfiguration/wellknown_configuration_pb2.py,sha256=KXjTE12hr8GV7apJLTzv2VDBv8jw-74jZUjQnIzzP8g,3633
|
|
123
|
+
otdf_python_proto/wellknownconfiguration/wellknown_configuration_pb2.pyi,sha256=H-Pjnl-fvckhUilvIHIuuSbHTDovejk-e7HFQ8f8eOc,1431
|
|
124
|
+
otdf_python-0.9.1.dist-info/METADATA,sha256=ScQBxJIR1eXbmSg_5gaaOEmbA6OecjaTZMdrRxoi5ac,5037
|
|
125
|
+
otdf_python-0.9.1.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
|
|
126
|
+
otdf_python-0.9.1.dist-info/RECORD,,
|
|
@@ -7,6 +7,7 @@ from typing import Protocol
|
|
|
7
7
|
|
|
8
8
|
from connectrpc.client import ConnectClient, ConnectClientSync
|
|
9
9
|
from connectrpc.code import Code
|
|
10
|
+
from connectrpc.compression import Compression
|
|
10
11
|
from connectrpc.errors import ConnectError
|
|
11
12
|
from connectrpc.interceptor import Interceptor, InterceptorSync
|
|
12
13
|
from connectrpc.method import IdempotencyLevel, MethodInfo
|
|
@@ -27,7 +28,7 @@ class AuthorizationService(Protocol):
|
|
|
27
28
|
|
|
28
29
|
|
|
29
30
|
class AuthorizationServiceASGIApplication(ConnectASGIApplication[AuthorizationService]):
|
|
30
|
-
def __init__(self, service: AuthorizationService | AsyncGenerator[AuthorizationService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
|
|
31
|
+
def __init__(self, service: AuthorizationService | AsyncGenerator[AuthorizationService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None, compressions: Iterable[Compression] | None = None) -> None:
|
|
31
32
|
super().__init__(
|
|
32
33
|
service=service,
|
|
33
34
|
endpoints=lambda svc: {
|
|
@@ -64,6 +65,7 @@ class AuthorizationServiceASGIApplication(ConnectASGIApplication[AuthorizationSe
|
|
|
64
65
|
},
|
|
65
66
|
interceptors=interceptors,
|
|
66
67
|
read_max_bytes=read_max_bytes,
|
|
68
|
+
compressions=compressions,
|
|
67
69
|
)
|
|
68
70
|
|
|
69
71
|
@property
|
|
@@ -144,7 +146,7 @@ class AuthorizationServiceSync(Protocol):
|
|
|
144
146
|
|
|
145
147
|
|
|
146
148
|
class AuthorizationServiceWSGIApplication(ConnectWSGIApplication):
|
|
147
|
-
def __init__(self, service: AuthorizationServiceSync, interceptors: Iterable[InterceptorSync]=(), read_max_bytes: int | None = None) -> None:
|
|
149
|
+
def __init__(self, service: AuthorizationServiceSync, interceptors: Iterable[InterceptorSync]=(), read_max_bytes: int | None = None, compressions: Iterable[Compression] | None = None) -> None:
|
|
148
150
|
super().__init__(
|
|
149
151
|
endpoints={
|
|
150
152
|
"/authorization.AuthorizationService/GetDecisions": EndpointSync.unary(
|
|
@@ -180,6 +182,7 @@ class AuthorizationServiceWSGIApplication(ConnectWSGIApplication):
|
|
|
180
182
|
},
|
|
181
183
|
interceptors=interceptors,
|
|
182
184
|
read_max_bytes=read_max_bytes,
|
|
185
|
+
compressions=compressions,
|
|
183
186
|
)
|
|
184
187
|
|
|
185
188
|
@property
|
|
@@ -22,12 +22,11 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
22
22
|
_sym_db = _symbol_database.Default()
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
26
25
|
from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
|
|
27
26
|
from policy import objects_pb2 as policy_dot_objects__pb2
|
|
28
27
|
|
|
29
28
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!authorization/authorization.proto\x12\rauthorization\x1a\
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!authorization/authorization.proto\x12\rauthorization\x1a\x19google/protobuf/any.proto\x1a\x14policy/objects.proto\")\n\x05Token\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x10\n\x03jwt\x18\x02 \x01(\tR\x03jwt\"\xc9\x03\n\x06\x45ntity\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12%\n\remail_address\x18\x02 \x01(\tH\x00R\x0c\x65mailAddress\x12\x1d\n\tuser_name\x18\x03 \x01(\tH\x00R\x08userName\x12,\n\x11remote_claims_url\x18\x04 \x01(\tH\x00R\x0fremoteClaimsUrl\x12\x14\n\x04uuid\x18\x05 \x01(\tH\x00R\x04uuid\x12.\n\x06\x63laims\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyH\x00R\x06\x63laims\x12\x35\n\x06\x63ustom\x18\x07 \x01(\x0b\x32\x1b.authorization.EntityCustomH\x00R\x06\x63ustom\x12\x1d\n\tclient_id\x18\x08 \x01(\tH\x00R\x08\x63lientId\x12:\n\x08\x63\x61tegory\x18\t \x01(\x0e\x32\x1e.authorization.Entity.CategoryR\x08\x63\x61tegory\"T\n\x08\x43\x61tegory\x12\x18\n\x14\x43\x41TEGORY_UNSPECIFIED\x10\x00\x12\x14\n\x10\x43\x41TEGORY_SUBJECT\x10\x01\x12\x18\n\x14\x43\x41TEGORY_ENVIRONMENT\x10\x02\x42\r\n\x0b\x65ntity_type\"B\n\x0c\x45ntityCustom\x12\x32\n\textension\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyR\textension\"P\n\x0b\x45ntityChain\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x31\n\x08\x65ntities\x18\x02 \x03(\x0b\x32\x15.authorization.EntityR\x08\x65ntities\"\xcf\x01\n\x0f\x44\x65\x63isionRequest\x12(\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32\x0e.policy.ActionR\x07\x61\x63tions\x12?\n\rentity_chains\x18\x02 \x03(\x0b\x32\x1a.authorization.EntityChainR\x0c\x65ntityChains\x12Q\n\x13resource_attributes\x18\x03 \x03(\x0b\x32 .authorization.ResourceAttributeR\x12resourceAttributes\"\xce\x02\n\x10\x44\x65\x63isionResponse\x12&\n\x0f\x65ntity_chain_id\x18\x01 \x01(\tR\rentityChainId\x12\x34\n\x16resource_attributes_id\x18\x02 \x01(\tR\x14resourceAttributesId\x12&\n\x06\x61\x63tion\x18\x03 \x01(\x0b\x32\x0e.policy.ActionR\x06\x61\x63tion\x12\x44\n\x08\x64\x65\x63ision\x18\x04 \x01(\x0e\x32(.authorization.DecisionResponse.DecisionR\x08\x64\x65\x63ision\x12 \n\x0bobligations\x18\x05 \x03(\tR\x0bobligations\"L\n\x08\x44\x65\x63ision\x12\x18\n\x14\x44\x45\x43ISION_UNSPECIFIED\x10\x00\x12\x11\n\rDECISION_DENY\x10\x01\x12\x13\n\x0f\x44\x45\x43ISION_PERMIT\x10\x02\"b\n\x13GetDecisionsRequest\x12K\n\x11\x64\x65\x63ision_requests\x18\x01 \x03(\x0b\x32\x1e.authorization.DecisionRequestR\x10\x64\x65\x63isionRequests\"f\n\x14GetDecisionsResponse\x12N\n\x12\x64\x65\x63ision_responses\x18\x01 \x03(\x0b\x32\x1f.authorization.DecisionResponseR\x11\x64\x65\x63isionResponses\"\xfa\x01\n\x16GetEntitlementsRequest\x12\x31\n\x08\x65ntities\x18\x01 \x03(\x0b\x32\x15.authorization.EntityR\x08\x65ntities\x12;\n\x05scope\x18\x02 \x01(\x0b\x32 .authorization.ResourceAttributeH\x00R\x05scope\x88\x01\x01\x12\x45\n\x1cwith_comprehensive_hierarchy\x18\x03 \x01(\x08H\x01R\x1awithComprehensiveHierarchy\x88\x01\x01\x42\x08\n\x06_scopeB\x1f\n\x1d_with_comprehensive_hierarchy\"c\n\x12\x45ntityEntitlements\x12\x1b\n\tentity_id\x18\x01 \x01(\tR\x08\x65ntityId\x12\x30\n\x14\x61ttribute_value_fqns\x18\x02 \x03(\tR\x12\x61ttributeValueFqns\"{\n\x11ResourceAttribute\x12\x34\n\x16resource_attributes_id\x18\x01 \x01(\tR\x14resourceAttributesId\x12\x30\n\x14\x61ttribute_value_fqns\x18\x02 \x03(\tR\x12\x61ttributeValueFqns\"`\n\x17GetEntitlementsResponse\x12\x45\n\x0c\x65ntitlements\x18\x01 \x03(\x0b\x32!.authorization.EntityEntitlementsR\x0c\x65ntitlements\"\xc1\x01\n\x14TokenDecisionRequest\x12(\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32\x0e.policy.ActionR\x07\x61\x63tions\x12,\n\x06tokens\x18\x02 \x03(\x0b\x32\x14.authorization.TokenR\x06tokens\x12Q\n\x13resource_attributes\x18\x03 \x03(\x0b\x32 .authorization.ResourceAttributeR\x12resourceAttributes\"n\n\x1aGetDecisionsByTokenRequest\x12P\n\x11\x64\x65\x63ision_requests\x18\x01 \x03(\x0b\x32#.authorization.TokenDecisionRequestR\x10\x64\x65\x63isionRequests\"m\n\x1bGetDecisionsByTokenResponse\x12N\n\x12\x64\x65\x63ision_responses\x18\x01 \x03(\x0b\x32\x1f.authorization.DecisionResponseR\x11\x64\x65\x63isionResponses2\xc5\x02\n\x14\x41uthorizationService\x12Y\n\x0cGetDecisions\x12\".authorization.GetDecisionsRequest\x1a#.authorization.GetDecisionsResponse\"\x00\x12n\n\x13GetDecisionsByToken\x12).authorization.GetDecisionsByTokenRequest\x1a*.authorization.GetDecisionsByTokenResponse\"\x00\x12\x62\n\x0fGetEntitlements\x12%.authorization.GetEntitlementsRequest\x1a&.authorization.GetEntitlementsResponse\"\x00\x42{\n\x11\x63om.authorizationB\x12\x41uthorizationProtoP\x01\xa2\x02\x03\x41XX\xaa\x02\rAuthorization\xca\x02\rAuthorization\xe2\x02\x19\x41uthorization\\GPBMetadata\xea\x02\rAuthorizationb\x06proto3')
|
|
31
30
|
|
|
32
31
|
_globals = globals()
|
|
33
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -35,46 +34,40 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'authorization.authorization
|
|
|
35
34
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
35
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
36
|
_globals['DESCRIPTOR']._serialized_options = b'\n\021com.authorizationB\022AuthorizationProtoP\001\242\002\003AXX\252\002\rAuthorization\312\002\rAuthorization\342\002\031Authorization\\GPBMetadata\352\002\rAuthorization'
|
|
38
|
-
_globals['
|
|
39
|
-
_globals['
|
|
40
|
-
_globals['
|
|
41
|
-
_globals['
|
|
42
|
-
_globals['
|
|
43
|
-
_globals['
|
|
44
|
-
_globals['
|
|
45
|
-
_globals['
|
|
46
|
-
_globals['
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
49
|
-
_globals['
|
|
50
|
-
_globals['
|
|
51
|
-
_globals['
|
|
52
|
-
_globals['
|
|
53
|
-
_globals['
|
|
54
|
-
_globals['
|
|
55
|
-
_globals['
|
|
56
|
-
_globals['
|
|
57
|
-
_globals['
|
|
58
|
-
_globals['
|
|
59
|
-
_globals['
|
|
60
|
-
_globals['
|
|
61
|
-
_globals['
|
|
62
|
-
_globals['
|
|
63
|
-
_globals['
|
|
64
|
-
_globals['
|
|
65
|
-
_globals['
|
|
66
|
-
_globals['
|
|
67
|
-
_globals['
|
|
68
|
-
_globals['
|
|
69
|
-
_globals['
|
|
70
|
-
_globals['
|
|
71
|
-
_globals['
|
|
72
|
-
_globals['
|
|
73
|
-
_globals['
|
|
74
|
-
_globals['_GETDECISIONSBYTOKENREQUEST']._serialized_start=2308
|
|
75
|
-
_globals['_GETDECISIONSBYTOKENREQUEST']._serialized_end=2418
|
|
76
|
-
_globals['_GETDECISIONSBYTOKENRESPONSE']._serialized_start=2420
|
|
77
|
-
_globals['_GETDECISIONSBYTOKENRESPONSE']._serialized_end=2529
|
|
78
|
-
_globals['_AUTHORIZATIONSERVICE']._serialized_start=2532
|
|
79
|
-
_globals['_AUTHORIZATIONSERVICE']._serialized_end=2944
|
|
37
|
+
_globals['_TOKEN']._serialized_start=101
|
|
38
|
+
_globals['_TOKEN']._serialized_end=142
|
|
39
|
+
_globals['_ENTITY']._serialized_start=145
|
|
40
|
+
_globals['_ENTITY']._serialized_end=602
|
|
41
|
+
_globals['_ENTITY_CATEGORY']._serialized_start=503
|
|
42
|
+
_globals['_ENTITY_CATEGORY']._serialized_end=587
|
|
43
|
+
_globals['_ENTITYCUSTOM']._serialized_start=604
|
|
44
|
+
_globals['_ENTITYCUSTOM']._serialized_end=670
|
|
45
|
+
_globals['_ENTITYCHAIN']._serialized_start=672
|
|
46
|
+
_globals['_ENTITYCHAIN']._serialized_end=752
|
|
47
|
+
_globals['_DECISIONREQUEST']._serialized_start=755
|
|
48
|
+
_globals['_DECISIONREQUEST']._serialized_end=962
|
|
49
|
+
_globals['_DECISIONRESPONSE']._serialized_start=965
|
|
50
|
+
_globals['_DECISIONRESPONSE']._serialized_end=1299
|
|
51
|
+
_globals['_DECISIONRESPONSE_DECISION']._serialized_start=1223
|
|
52
|
+
_globals['_DECISIONRESPONSE_DECISION']._serialized_end=1299
|
|
53
|
+
_globals['_GETDECISIONSREQUEST']._serialized_start=1301
|
|
54
|
+
_globals['_GETDECISIONSREQUEST']._serialized_end=1399
|
|
55
|
+
_globals['_GETDECISIONSRESPONSE']._serialized_start=1401
|
|
56
|
+
_globals['_GETDECISIONSRESPONSE']._serialized_end=1503
|
|
57
|
+
_globals['_GETENTITLEMENTSREQUEST']._serialized_start=1506
|
|
58
|
+
_globals['_GETENTITLEMENTSREQUEST']._serialized_end=1756
|
|
59
|
+
_globals['_ENTITYENTITLEMENTS']._serialized_start=1758
|
|
60
|
+
_globals['_ENTITYENTITLEMENTS']._serialized_end=1857
|
|
61
|
+
_globals['_RESOURCEATTRIBUTE']._serialized_start=1859
|
|
62
|
+
_globals['_RESOURCEATTRIBUTE']._serialized_end=1982
|
|
63
|
+
_globals['_GETENTITLEMENTSRESPONSE']._serialized_start=1984
|
|
64
|
+
_globals['_GETENTITLEMENTSRESPONSE']._serialized_end=2080
|
|
65
|
+
_globals['_TOKENDECISIONREQUEST']._serialized_start=2083
|
|
66
|
+
_globals['_TOKENDECISIONREQUEST']._serialized_end=2276
|
|
67
|
+
_globals['_GETDECISIONSBYTOKENREQUEST']._serialized_start=2278
|
|
68
|
+
_globals['_GETDECISIONSBYTOKENREQUEST']._serialized_end=2388
|
|
69
|
+
_globals['_GETDECISIONSBYTOKENRESPONSE']._serialized_start=2390
|
|
70
|
+
_globals['_GETDECISIONSBYTOKENRESPONSE']._serialized_end=2499
|
|
71
|
+
_globals['_AUTHORIZATIONSERVICE']._serialized_start=2502
|
|
72
|
+
_globals['_AUTHORIZATIONSERVICE']._serialized_end=2827
|
|
80
73
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -7,6 +7,7 @@ from typing import Protocol
|
|
|
7
7
|
|
|
8
8
|
from connectrpc.client import ConnectClient, ConnectClientSync
|
|
9
9
|
from connectrpc.code import Code
|
|
10
|
+
from connectrpc.compression import Compression
|
|
10
11
|
from connectrpc.errors import ConnectError
|
|
11
12
|
from connectrpc.interceptor import Interceptor, InterceptorSync
|
|
12
13
|
from connectrpc.method import IdempotencyLevel, MethodInfo
|
|
@@ -30,7 +31,7 @@ class AuthorizationService(Protocol):
|
|
|
30
31
|
|
|
31
32
|
|
|
32
33
|
class AuthorizationServiceASGIApplication(ConnectASGIApplication[AuthorizationService]):
|
|
33
|
-
def __init__(self, service: AuthorizationService | AsyncGenerator[AuthorizationService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
|
|
34
|
+
def __init__(self, service: AuthorizationService | AsyncGenerator[AuthorizationService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None, compressions: Iterable[Compression] | None = None) -> None:
|
|
34
35
|
super().__init__(
|
|
35
36
|
service=service,
|
|
36
37
|
endpoints=lambda svc: {
|
|
@@ -77,6 +78,7 @@ class AuthorizationServiceASGIApplication(ConnectASGIApplication[AuthorizationSe
|
|
|
77
78
|
},
|
|
78
79
|
interceptors=interceptors,
|
|
79
80
|
read_max_bytes=read_max_bytes,
|
|
81
|
+
compressions=compressions,
|
|
80
82
|
)
|
|
81
83
|
|
|
82
84
|
@property
|
|
@@ -179,7 +181,7 @@ class AuthorizationServiceSync(Protocol):
|
|
|
179
181
|
|
|
180
182
|
|
|
181
183
|
class AuthorizationServiceWSGIApplication(ConnectWSGIApplication):
|
|
182
|
-
def __init__(self, service: AuthorizationServiceSync, interceptors: Iterable[InterceptorSync]=(), read_max_bytes: int | None = None) -> None:
|
|
184
|
+
def __init__(self, service: AuthorizationServiceSync, interceptors: Iterable[InterceptorSync]=(), read_max_bytes: int | None = None, compressions: Iterable[Compression] | None = None) -> None:
|
|
183
185
|
super().__init__(
|
|
184
186
|
endpoints={
|
|
185
187
|
"/authorization.v2.AuthorizationService/GetDecision": EndpointSync.unary(
|
|
@@ -225,6 +227,7 @@ class AuthorizationServiceWSGIApplication(ConnectWSGIApplication):
|
|
|
225
227
|
},
|
|
226
228
|
interceptors=interceptors,
|
|
227
229
|
read_max_bytes=read_max_bytes,
|
|
230
|
+
compressions=compressions,
|
|
228
231
|
)
|
|
229
232
|
|
|
230
233
|
@property
|
|
@@ -7,6 +7,7 @@ from typing import Protocol
|
|
|
7
7
|
|
|
8
8
|
from connectrpc.client import ConnectClient, ConnectClientSync
|
|
9
9
|
from connectrpc.code import Code
|
|
10
|
+
from connectrpc.compression import Compression
|
|
10
11
|
from connectrpc.errors import ConnectError
|
|
11
12
|
from connectrpc.interceptor import Interceptor, InterceptorSync
|
|
12
13
|
from connectrpc.method import IdempotencyLevel, MethodInfo
|
|
@@ -24,7 +25,7 @@ class EntityResolutionService(Protocol):
|
|
|
24
25
|
|
|
25
26
|
|
|
26
27
|
class EntityResolutionServiceASGIApplication(ConnectASGIApplication[EntityResolutionService]):
|
|
27
|
-
def __init__(self, service: EntityResolutionService | AsyncGenerator[EntityResolutionService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
|
|
28
|
+
def __init__(self, service: EntityResolutionService | AsyncGenerator[EntityResolutionService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None, compressions: Iterable[Compression] | None = None) -> None:
|
|
28
29
|
super().__init__(
|
|
29
30
|
service=service,
|
|
30
31
|
endpoints=lambda svc: {
|
|
@@ -51,6 +52,7 @@ class EntityResolutionServiceASGIApplication(ConnectASGIApplication[EntityResolu
|
|
|
51
52
|
},
|
|
52
53
|
interceptors=interceptors,
|
|
53
54
|
read_max_bytes=read_max_bytes,
|
|
55
|
+
compressions=compressions,
|
|
54
56
|
)
|
|
55
57
|
|
|
56
58
|
@property
|
|
@@ -109,7 +111,7 @@ class EntityResolutionServiceSync(Protocol):
|
|
|
109
111
|
|
|
110
112
|
|
|
111
113
|
class EntityResolutionServiceWSGIApplication(ConnectWSGIApplication):
|
|
112
|
-
def __init__(self, service: EntityResolutionServiceSync, interceptors: Iterable[InterceptorSync]=(), read_max_bytes: int | None = None) -> None:
|
|
114
|
+
def __init__(self, service: EntityResolutionServiceSync, interceptors: Iterable[InterceptorSync]=(), read_max_bytes: int | None = None, compressions: Iterable[Compression] | None = None) -> None:
|
|
113
115
|
super().__init__(
|
|
114
116
|
endpoints={
|
|
115
117
|
"/entityresolution.EntityResolutionService/ResolveEntities": EndpointSync.unary(
|
|
@@ -135,6 +137,7 @@ class EntityResolutionServiceWSGIApplication(ConnectWSGIApplication):
|
|
|
135
137
|
},
|
|
136
138
|
interceptors=interceptors,
|
|
137
139
|
read_max_bytes=read_max_bytes,
|
|
140
|
+
compressions=compressions,
|
|
138
141
|
)
|
|
139
142
|
|
|
140
143
|
@property
|
|
@@ -23,12 +23,11 @@ _sym_db = _symbol_database.Default()
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
from authorization import authorization_pb2 as authorization_dot_authorization__pb2
|
|
26
|
-
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
27
26
|
from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
|
|
28
|
-
from google.
|
|
27
|
+
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
29
28
|
|
|
30
29
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(entityresolution/entity_resolution.proto\x12\x10\x65ntityresolution\x1a!authorization/authorization.proto\x1a\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(entityresolution/entity_resolution.proto\x12\x10\x65ntityresolution\x1a!authorization/authorization.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/protobuf/struct.proto\"K\n\x16ResolveEntitiesRequest\x12\x31\n\x08\x65ntities\x18\x01 \x03(\x0b\x32\x15.authorization.EntityR\x08\x65ntities\"{\n\x14\x45ntityRepresentation\x12\x42\n\x10\x61\x64\x64itional_props\x18\x01 \x03(\x0b\x32\x17.google.protobuf.StructR\x0f\x61\x64\x64itionalProps\x12\x1f\n\x0boriginal_id\x18\x02 \x01(\tR\noriginalId\"x\n\x17ResolveEntitiesResponse\x12]\n\x16\x65ntity_representations\x18\x01 \x03(\x0b\x32&.entityresolution.EntityRepresentationR\x15\x65ntityRepresentations\"\x8b\x01\n\x13\x45ntityNotFoundError\x12\x12\n\x04\x63ode\x18\x01 \x01(\x05R\x04\x63ode\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12.\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.AnyR\x07\x64\x65tails\x12\x16\n\x06\x65ntity\x18\x04 \x01(\tR\x06\x65ntity\"O\n\x1f\x43reateEntityChainFromJwtRequest\x12,\n\x06tokens\x18\x01 \x03(\x0b\x32\x14.authorization.TokenR\x06tokens\"c\n CreateEntityChainFromJwtResponse\x12?\n\rentity_chains\x18\x01 \x03(\x0b\x32\x1a.authorization.EntityChainR\x0c\x65ntityChains2\x89\x02\n\x17\x45ntityResolutionService\x12h\n\x0fResolveEntities\x12(.entityresolution.ResolveEntitiesRequest\x1a).entityresolution.ResolveEntitiesResponse\"\x00\x12\x83\x01\n\x18\x43reateEntityChainFromJwt\x12\x31.entityresolution.CreateEntityChainFromJwtRequest\x1a\x32.entityresolution.CreateEntityChainFromJwtResponse\"\x00\x42\x8d\x01\n\x14\x63om.entityresolutionB\x15\x45ntityResolutionProtoP\x01\xa2\x02\x03\x45XX\xaa\x02\x10\x45ntityresolution\xca\x02\x10\x45ntityresolution\xe2\x02\x1c\x45ntityresolution\\GPBMetadata\xea\x02\x10\x45ntityresolutionb\x06proto3')
|
|
32
31
|
|
|
33
32
|
_globals = globals()
|
|
34
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -36,22 +35,18 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'entityresolution.entity_res
|
|
|
36
35
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
37
36
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
38
37
|
_globals['DESCRIPTOR']._serialized_options = b'\n\024com.entityresolutionB\025EntityResolutionProtoP\001\242\002\003EXX\252\002\020Entityresolution\312\002\020Entityresolution\342\002\034Entityresolution\\GPBMetadata\352\002\020Entityresolution'
|
|
39
|
-
_globals['
|
|
40
|
-
_globals['
|
|
41
|
-
_globals['
|
|
42
|
-
_globals['
|
|
43
|
-
_globals['
|
|
44
|
-
_globals['
|
|
45
|
-
_globals['
|
|
46
|
-
_globals['
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
49
|
-
_globals['
|
|
50
|
-
_globals['
|
|
51
|
-
_globals['
|
|
52
|
-
_globals['
|
|
53
|
-
_globals['_CREATEENTITYCHAINFROMJWTRESPONSE']._serialized_start=731
|
|
54
|
-
_globals['_CREATEENTITYCHAINFROMJWTRESPONSE']._serialized_end=830
|
|
55
|
-
_globals['_ENTITYRESOLUTIONSERVICE']._serialized_start=833
|
|
56
|
-
_globals['_ENTITYRESOLUTIONSERVICE']._serialized_end=1175
|
|
38
|
+
_globals['_RESOLVEENTITIESREQUEST']._serialized_start=154
|
|
39
|
+
_globals['_RESOLVEENTITIESREQUEST']._serialized_end=229
|
|
40
|
+
_globals['_ENTITYREPRESENTATION']._serialized_start=231
|
|
41
|
+
_globals['_ENTITYREPRESENTATION']._serialized_end=354
|
|
42
|
+
_globals['_RESOLVEENTITIESRESPONSE']._serialized_start=356
|
|
43
|
+
_globals['_RESOLVEENTITIESRESPONSE']._serialized_end=476
|
|
44
|
+
_globals['_ENTITYNOTFOUNDERROR']._serialized_start=479
|
|
45
|
+
_globals['_ENTITYNOTFOUNDERROR']._serialized_end=618
|
|
46
|
+
_globals['_CREATEENTITYCHAINFROMJWTREQUEST']._serialized_start=620
|
|
47
|
+
_globals['_CREATEENTITYCHAINFROMJWTREQUEST']._serialized_end=699
|
|
48
|
+
_globals['_CREATEENTITYCHAINFROMJWTRESPONSE']._serialized_start=701
|
|
49
|
+
_globals['_CREATEENTITYCHAINFROMJWTRESPONSE']._serialized_end=800
|
|
50
|
+
_globals['_ENTITYRESOLUTIONSERVICE']._serialized_start=803
|
|
51
|
+
_globals['_ENTITYRESOLUTIONSERVICE']._serialized_end=1068
|
|
57
52
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
from authorization import authorization_pb2 as _authorization_pb2
|
|
2
|
-
from google.protobuf import struct_pb2 as _struct_pb2
|
|
3
2
|
from google.protobuf import any_pb2 as _any_pb2
|
|
4
|
-
from google.
|
|
3
|
+
from google.protobuf import struct_pb2 as _struct_pb2
|
|
5
4
|
from google.protobuf.internal import containers as _containers
|
|
6
5
|
from google.protobuf import descriptor as _descriptor
|
|
7
6
|
from google.protobuf import message as _message
|
|
@@ -7,6 +7,7 @@ from typing import Protocol
|
|
|
7
7
|
|
|
8
8
|
from connectrpc.client import ConnectClient, ConnectClientSync
|
|
9
9
|
from connectrpc.code import Code
|
|
10
|
+
from connectrpc.compression import Compression
|
|
10
11
|
from connectrpc.errors import ConnectError
|
|
11
12
|
from connectrpc.interceptor import Interceptor, InterceptorSync
|
|
12
13
|
from connectrpc.method import IdempotencyLevel, MethodInfo
|
|
@@ -24,7 +25,7 @@ class EntityResolutionService(Protocol):
|
|
|
24
25
|
|
|
25
26
|
|
|
26
27
|
class EntityResolutionServiceASGIApplication(ConnectASGIApplication[EntityResolutionService]):
|
|
27
|
-
def __init__(self, service: EntityResolutionService | AsyncGenerator[EntityResolutionService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
|
|
28
|
+
def __init__(self, service: EntityResolutionService | AsyncGenerator[EntityResolutionService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None, compressions: Iterable[Compression] | None = None) -> None:
|
|
28
29
|
super().__init__(
|
|
29
30
|
service=service,
|
|
30
31
|
endpoints=lambda svc: {
|
|
@@ -51,6 +52,7 @@ class EntityResolutionServiceASGIApplication(ConnectASGIApplication[EntityResolu
|
|
|
51
52
|
},
|
|
52
53
|
interceptors=interceptors,
|
|
53
54
|
read_max_bytes=read_max_bytes,
|
|
55
|
+
compressions=compressions,
|
|
54
56
|
)
|
|
55
57
|
|
|
56
58
|
@property
|
|
@@ -109,7 +111,7 @@ class EntityResolutionServiceSync(Protocol):
|
|
|
109
111
|
|
|
110
112
|
|
|
111
113
|
class EntityResolutionServiceWSGIApplication(ConnectWSGIApplication):
|
|
112
|
-
def __init__(self, service: EntityResolutionServiceSync, interceptors: Iterable[InterceptorSync]=(), read_max_bytes: int | None = None) -> None:
|
|
114
|
+
def __init__(self, service: EntityResolutionServiceSync, interceptors: Iterable[InterceptorSync]=(), read_max_bytes: int | None = None, compressions: Iterable[Compression] | None = None) -> None:
|
|
113
115
|
super().__init__(
|
|
114
116
|
endpoints={
|
|
115
117
|
"/entityresolution.v2.EntityResolutionService/ResolveEntities": EndpointSync.unary(
|
|
@@ -135,6 +137,7 @@ class EntityResolutionServiceWSGIApplication(ConnectWSGIApplication):
|
|
|
135
137
|
},
|
|
136
138
|
interceptors=interceptors,
|
|
137
139
|
read_max_bytes=read_max_bytes,
|
|
140
|
+
compressions=compressions,
|
|
138
141
|
)
|
|
139
142
|
|
|
140
143
|
@property
|
|
@@ -7,6 +7,7 @@ from typing import Protocol
|
|
|
7
7
|
|
|
8
8
|
from connectrpc.client import ConnectClient, ConnectClientSync
|
|
9
9
|
from connectrpc.code import Code
|
|
10
|
+
from connectrpc.compression import Compression
|
|
10
11
|
from connectrpc.errors import ConnectError
|
|
11
12
|
from connectrpc.interceptor import Interceptor, InterceptorSync
|
|
12
13
|
from connectrpc.method import IdempotencyLevel, MethodInfo
|
|
@@ -28,7 +29,7 @@ class AccessService(Protocol):
|
|
|
28
29
|
|
|
29
30
|
|
|
30
31
|
class AccessServiceASGIApplication(ConnectASGIApplication[AccessService]):
|
|
31
|
-
def __init__(self, service: AccessService | AsyncGenerator[AccessService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
|
|
32
|
+
def __init__(self, service: AccessService | AsyncGenerator[AccessService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None, compressions: Iterable[Compression] | None = None) -> None:
|
|
32
33
|
super().__init__(
|
|
33
34
|
service=service,
|
|
34
35
|
endpoints=lambda svc: {
|
|
@@ -65,6 +66,7 @@ class AccessServiceASGIApplication(ConnectASGIApplication[AccessService]):
|
|
|
65
66
|
},
|
|
66
67
|
interceptors=interceptors,
|
|
67
68
|
read_max_bytes=read_max_bytes,
|
|
69
|
+
compressions=compressions,
|
|
68
70
|
)
|
|
69
71
|
|
|
70
72
|
@property
|
|
@@ -149,7 +151,7 @@ class AccessServiceSync(Protocol):
|
|
|
149
151
|
|
|
150
152
|
|
|
151
153
|
class AccessServiceWSGIApplication(ConnectWSGIApplication):
|
|
152
|
-
def __init__(self, service: AccessServiceSync, interceptors: Iterable[InterceptorSync]=(), read_max_bytes: int | None = None) -> None:
|
|
154
|
+
def __init__(self, service: AccessServiceSync, interceptors: Iterable[InterceptorSync]=(), read_max_bytes: int | None = None, compressions: Iterable[Compression] | None = None) -> None:
|
|
153
155
|
super().__init__(
|
|
154
156
|
endpoints={
|
|
155
157
|
"/kas.AccessService/PublicKey": EndpointSync.unary(
|
|
@@ -185,6 +187,7 @@ class AccessServiceWSGIApplication(ConnectWSGIApplication):
|
|
|
185
187
|
},
|
|
186
188
|
interceptors=interceptors,
|
|
187
189
|
read_max_bytes=read_max_bytes,
|
|
190
|
+
compressions=compressions,
|
|
188
191
|
)
|
|
189
192
|
|
|
190
193
|
@property
|