frogml-core 0.0.66__py3-none-any.whl → 0.0.67__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.
frogml_core/__init__.py CHANGED
@@ -1,7 +1,7 @@
1
1
  """Top-level package for frogml."""
2
2
 
3
3
  __author__ = "jfrog"
4
- __version__ = "0.0.66"
4
+ __version__ = "0.0.67"
5
5
 
6
6
  from frogml_core.inner.di_configuration import wire_dependencies
7
7
  from frogml_core.model.model_version_tracking import ( # noqa: F401,E501
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: frogml-core
3
- Version: 0.0.66
3
+ Version: 0.0.67
4
4
  Summary: frogml Core contains the necessary objects and communication tools for using the Jfrog ml Platform
5
5
  License: Apache-2.0
6
6
  Keywords: mlops,ml,deployment,serving,model
@@ -1,4 +1,4 @@
1
- frogml_core/__init__.py,sha256=DhmQwM_ldEaR8SiURQN-S1TMtq_5fGZayakwUSok5ms,777
1
+ frogml_core/__init__.py,sha256=hIQuH3Iu6n5Tj8hHm0gWAp_yYnZlntMzt5cnnNmviuI,777
2
2
  frogml_core/automations/__init__.py,sha256=j2gD15MN-xVWhI5rAFsDwhL0CIyICLNT0scXsKvNBkU,1547
3
3
  frogml_core/automations/automation_executions.py,sha256=xpOb9Dq8gPPGNQDJTvBBZbNz4woZDRZY0HqnLSu7pwU,3230
4
4
  frogml_core/automations/automations.py,sha256=GKEQyQMi8sxX5oZn62PaxPi0zD8IaJRjBkhczRJxHNs,13070
@@ -659,8 +659,8 @@ frogml_proto/qwak/deployment/deployment_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8
659
659
  frogml_proto/qwak/deployment/deployment_service_pb2.py,sha256=nElkI-aRZBXTRbWTn6yZ9-m_sSMG7S_KKSEn2qPH_jg,46324
660
660
  frogml_proto/qwak/deployment/deployment_service_pb2.pyi,sha256=U43wEm09zS8pyjl_bHqym9b778pgodxPl-LrsP8gTrc,40993
661
661
  frogml_proto/qwak/deployment/deployment_service_pb2_grpc.py,sha256=JTfQWEXtDmSa7E_wlCPFGuWe4mWF3BhbU5kphAJmEUk,27757
662
- frogml_proto/qwak/ecosystem/jfrog/v0/token_pb2.py,sha256=ZO3EwAGZ_PUKQt9Gz3Py65Ts5FTBjem3oQUTkXBOnb0,12103
663
- frogml_proto/qwak/ecosystem/jfrog/v0/token_pb2.pyi,sha256=H207PKZZ37xFJrCUo3jW3q-3IjCp37DWoetjhdP-ct4,15518
662
+ frogml_proto/qwak/ecosystem/jfrog/v0/token_pb2.py,sha256=8hJ7R8WfDA3c8ey_kgKFcPsi4_V-Vw0tNwsN9aEhxDQ,13287
663
+ frogml_proto/qwak/ecosystem/jfrog/v0/token_pb2.pyi,sha256=eZhdgcdWYETdyH8uKi8qHfqx97_i_JTzlI2SY_Pppoc,17104
664
664
  frogml_proto/qwak/ecosystem/jfrog/v0/token_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
665
665
  frogml_proto/qwak/ecosystem/jfrog/v0/token_service_pb2.py,sha256=V_TS3JGKH-L9k5qIlSYMhPnyN3a7U0qAeZK-u-9TbEc,7855
666
666
  frogml_proto/qwak/ecosystem/jfrog/v0/token_service_pb2.pyi,sha256=-AU-RXZ_GYQPFB_ESaaNDYkedS-TAp7AJe6ZMt6R6gg,5638
@@ -1082,6 +1082,6 @@ frogml_services_mock/mocks/workspace_manager_service_mock.py,sha256=WbOiWgOyr-xT
1082
1082
  frogml_services_mock/services_mock.py,sha256=_34z6rFCHFwcSni-9eyJlrH264xsL_QDNmG-EBv0zMc,20281
1083
1083
  frogml_services_mock/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1084
1084
  frogml_services_mock/utils/service_utils.py,sha256=ZlB0CnB1J6oBn6_m7fQO2U8tKoboHdUa6ljjkRMYNXU,265
1085
- frogml_core-0.0.66.dist-info/METADATA,sha256=bxnEy5UJFeclVReQXAWy-A8trI-H8GJt8JNr-CgI9f4,2004
1086
- frogml_core-0.0.66.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
1087
- frogml_core-0.0.66.dist-info/RECORD,,
1085
+ frogml_core-0.0.67.dist-info/METADATA,sha256=wOgcX4AQSRkmhHyAaBpY6p4PlLINyi3KnKgDwRg0260,2004
1086
+ frogml_core-0.0.67.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
1087
+ frogml_core-0.0.67.dist-info/RECORD,,
@@ -15,7 +15,7 @@ _sym_db = _symbol_database.Default()
15
15
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#qwak/ecosystem/jfrog/v0/token.proto\x12\x1dqwak.ecosystem.jfrog.token.v0\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa5\x01\n\nJFrogToken\x12G\n\ndefinition\x18\x01 \x01(\x0b\x32\x33.qwak.ecosystem.jfrog.token.v0.JFrogTokenDefinition\x12N\n\x0etenant_details\x18\x02 \x01(\x0b\x32\x36.qwak.ecosystem.jfrog.token.v0.JFrogTokenTenantDetails\"/\n\x17JFrogTokenTenantDetails\x12\x14\n\x0cplatform_url\x18\x01 \x01(\t\"\xe4\x01\n\x14JFrogTokenDefinition\x12\r\n\x05token\x18\x01 \x01(\t\x12\x17\n\rrefresh_token\x18\x02 \x01(\tH\x00\x12\x35\n\x0f\x65xpiration_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x12\x0f\n\x07subject\x18\x04 \x01(\t\x12\x14\n\x0csubject_name\x18\x05 \x01(\t\x12\x10\n\x08token_id\x18\x06 \x01(\tB\x18\n\x16optional_refresh_tokenB\x1a\n\x18optional_expiration_time\"\x8c\x02\n\x0eJFrogTokenSpec\x12\x17\n\x0fjfrog_tenant_id\x18\x01 \x01(\t\x12V\n\x18subject_and_scope_source\x18\x02 \x01(\x0b\x32\x34.qwak.ecosystem.jfrog.token.v0.SubjectAndScopeSource\x12\x45\n\taudiences\x18\x03 \x01(\x0b\x32\x32.qwak.ecosystem.jfrog.token.v0.JFrogTokenAudiences\x12\x42\n\x08ttl_spec\x18\x04 \x01(\x0b\x32\x30.qwak.ecosystem.jfrog.token.v0.JFrogTokenTTLSpec\"\x94\x01\n\x1d\x41rtifactoryImagePullTokenSpec\x12\x17\n\x0fjfrog_tenant_id\x18\x01 \x01(\t\x12\x16\n\x0erepository_key\x18\x02 \x01(\t\x12\x42\n\x08ttl_spec\x18\x03 \x01(\x0b\x32\x30.qwak.ecosystem.jfrog.token.v0.JFrogTokenTTLSpec\"@\n\x16PersistTokenClaimsSpec\x12\x17\n\x0fjfrog_tenant_id\x18\x01 \x01(\t\x12\r\n\x05token\x18\x02 \x01(\t\"m\n\x14JFrogTokenRevokeSpec\x12\x17\n\x0fjfrog_tenant_id\x18\x01 \x01(\t\x12\x0f\n\x05token\x18\x02 \x01(\tH\x00\x12\x12\n\x08token_id\x18\x03 \x01(\tH\x00\x42\x17\n\x15token_descriptor_type\"{\n\x11JFrogTokenTTLSpec\x12\x35\n\x0f\x65xpiration_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12\x13\n\x0brefreshable\x18\x02 \x01(\x08\x42\x1a\n\x18optional_expiration_time\"\x9b\x01\n\x15SubjectAndScopeSource\x12\x0f\n\x05token\x18\x01 \x01(\tH\x00\x12\x12\n\x08token_id\x18\x02 \x01(\tH\x00\x12S\n\x11subject_and_scope\x18\x03 \x01(\x0b\x32\x36.qwak.ecosystem.jfrog.token.v0.ExplicitSubjectAndScopeH\x00\x42\x08\n\x06source\"P\n\x17\x45xplicitSubjectAndScope\x12\x11\n\x07subject\x18\x01 \x01(\tH\x00\x12\x0e\n\x06scopes\x18\x02 \x01(\tB\x12\n\x10optional_subject\"[\n\x13JFrogTokenAudiences\x12\x44\n\taudiences\x18\x01 \x03(\x0b\x32\x31.qwak.ecosystem.jfrog.token.v0.JFrogTokenAudience\"\x86\x02\n\x12JFrogTokenAudience\x12L\n\x08jfrog_ml\x18\x01 \x01(\x0b\x32\x38.qwak.ecosystem.jfrog.token.v0.JFrogTokenAudienceJFrogMLH\x00\x12S\n\x0b\x61rtifactory\x18\x02 \x01(\x0b\x32<.qwak.ecosystem.jfrog.token.v0.JFrogTokenAudienceArtifactoryH\x00\x12\x45\n\x04xray\x18\x03 \x01(\x0b\x32\x35.qwak.ecosystem.jfrog.token.v0.JFrogTokenAudienceXRayH\x00\x42\x06\n\x04type\"\x1f\n\x1dJFrogTokenAudienceArtifactory\"\x18\n\x16JFrogTokenAudienceXRay\"\x1b\n\x19JFrogTokenAudienceJFrogMLB\xb7\x01\n\x1a\x63om.qwak.ai.jfrog.token.v0P\x01Z\x96\x01github.com/qwak-ai/qwak-platform/services/shared/java/libs/qwak-common/qwak-common-api/qwak-platform-ecosystem-api/pb/qwak/ecosystem/jfrog/v0;jfrog_v0b\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#qwak/ecosystem/jfrog/v0/token.proto\x12\x1dqwak.ecosystem.jfrog.token.v0\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa5\x01\n\nJFrogToken\x12G\n\ndefinition\x18\x01 \x01(\x0b\x32\x33.qwak.ecosystem.jfrog.token.v0.JFrogTokenDefinition\x12N\n\x0etenant_details\x18\x02 \x01(\x0b\x32\x36.qwak.ecosystem.jfrog.token.v0.JFrogTokenTenantDetails\"/\n\x17JFrogTokenTenantDetails\x12\x14\n\x0cplatform_url\x18\x01 \x01(\t\"\xe4\x01\n\x14JFrogTokenDefinition\x12\r\n\x05token\x18\x01 \x01(\t\x12\x17\n\rrefresh_token\x18\x02 \x01(\tH\x00\x12\x35\n\x0f\x65xpiration_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x12\x0f\n\x07subject\x18\x04 \x01(\t\x12\x14\n\x0csubject_name\x18\x05 \x01(\t\x12\x10\n\x08token_id\x18\x06 \x01(\tB\x18\n\x16optional_refresh_tokenB\x1a\n\x18optional_expiration_time\"\x8c\x02\n\x0eJFrogTokenSpec\x12\x17\n\x0fjfrog_tenant_id\x18\x01 \x01(\t\x12V\n\x18subject_and_scope_source\x18\x02 \x01(\x0b\x32\x34.qwak.ecosystem.jfrog.token.v0.SubjectAndScopeSource\x12\x45\n\taudiences\x18\x03 \x01(\x0b\x32\x32.qwak.ecosystem.jfrog.token.v0.JFrogTokenAudiences\x12\x42\n\x08ttl_spec\x18\x04 \x01(\x0b\x32\x30.qwak.ecosystem.jfrog.token.v0.JFrogTokenTTLSpec\"\x94\x01\n\x1d\x41rtifactoryImagePullTokenSpec\x12\x17\n\x0fjfrog_tenant_id\x18\x01 \x01(\t\x12\x16\n\x0erepository_key\x18\x02 \x01(\t\x12\x42\n\x08ttl_spec\x18\x03 \x01(\x0b\x32\x30.qwak.ecosystem.jfrog.token.v0.JFrogTokenTTLSpec\"\x97\x01\n\x16PersistTokenClaimsSpec\x12\x17\n\x0fjfrog_tenant_id\x18\x01 \x01(\t\x12\x11\n\x05token\x18\x02 \x01(\tB\x02\x18\x01\x12Q\n\x15token_scope_extension\x18\x03 \x01(\x0b\x32\x32.qwak.ecosystem.jfrog.token.v0.TokenScopeExtension\"m\n\x14JFrogTokenRevokeSpec\x12\x17\n\x0fjfrog_tenant_id\x18\x01 \x01(\t\x12\x0f\n\x05token\x18\x02 \x01(\tH\x00\x12\x12\n\x08token_id\x18\x03 \x01(\tH\x00\x42\x17\n\x15token_descriptor_type\"{\n\x11JFrogTokenTTLSpec\x12\x35\n\x0f\x65xpiration_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12\x13\n\x0brefreshable\x18\x02 \x01(\x08\x42\x1a\n\x18optional_expiration_time\"\xf4\x01\n\x15SubjectAndScopeSource\x12\x13\n\x05token\x18\x01 \x01(\tB\x02\x18\x01H\x00\x12\x12\n\x08token_id\x18\x02 \x01(\tH\x00\x12S\n\x11subject_and_scope\x18\x03 \x01(\x0b\x32\x36.qwak.ecosystem.jfrog.token.v0.ExplicitSubjectAndScopeH\x00\x12S\n\x15token_scope_extension\x18\x04 \x01(\x0b\x32\x32.qwak.ecosystem.jfrog.token.v0.TokenScopeExtensionH\x00\x42\x08\n\x06source\"P\n\x17\x45xplicitSubjectAndScope\x12\x11\n\x07subject\x18\x01 \x01(\tH\x00\x12\x0e\n\x06scopes\x18\x02 \x01(\tB\x12\n\x10optional_subject\"[\n\x13JFrogTokenAudiences\x12\x44\n\taudiences\x18\x01 \x03(\x0b\x32\x31.qwak.ecosystem.jfrog.token.v0.JFrogTokenAudience\"\x86\x02\n\x12JFrogTokenAudience\x12L\n\x08jfrog_ml\x18\x01 \x01(\x0b\x32\x38.qwak.ecosystem.jfrog.token.v0.JFrogTokenAudienceJFrogMLH\x00\x12S\n\x0b\x61rtifactory\x18\x02 \x01(\x0b\x32<.qwak.ecosystem.jfrog.token.v0.JFrogTokenAudienceArtifactoryH\x00\x12\x45\n\x04xray\x18\x03 \x01(\x0b\x32\x35.qwak.ecosystem.jfrog.token.v0.JFrogTokenAudienceXRayH\x00\x42\x06\n\x04type\"\x1f\n\x1dJFrogTokenAudienceArtifactory\"\x18\n\x16JFrogTokenAudienceXRay\"\x1b\n\x19JFrogTokenAudienceJFrogML\"?\n\x13TokenScopeExtension\x12\r\n\x05token\x18\x01 \x01(\t\x12\x19\n\x11\x61\x64\x64itional_scopes\x18\x02 \x03(\tB\xb7\x01\n\x1a\x63om.qwak.ai.jfrog.token.v0P\x01Z\x96\x01github.com/qwak-ai/qwak-platform/services/shared/java/libs/qwak-common/qwak-common-api/qwak-platform-ecosystem-api/pb/qwak/ecosystem/jfrog/v0;jfrog_v0b\x06proto3')
19
19
 
20
20
 
21
21
 
@@ -34,6 +34,7 @@ _JFROGTOKENAUDIENCE = DESCRIPTOR.message_types_by_name['JFrogTokenAudience']
34
34
  _JFROGTOKENAUDIENCEARTIFACTORY = DESCRIPTOR.message_types_by_name['JFrogTokenAudienceArtifactory']
35
35
  _JFROGTOKENAUDIENCEXRAY = DESCRIPTOR.message_types_by_name['JFrogTokenAudienceXRay']
36
36
  _JFROGTOKENAUDIENCEJFROGML = DESCRIPTOR.message_types_by_name['JFrogTokenAudienceJFrogML']
37
+ _TOKENSCOPEEXTENSION = DESCRIPTOR.message_types_by_name['TokenScopeExtension']
37
38
  JFrogToken = _reflection.GeneratedProtocolMessageType('JFrogToken', (_message.Message,), {
38
39
  'DESCRIPTOR' : _JFROGTOKEN,
39
40
  '__module__' : 'qwak.ecosystem.jfrog.v0.token_pb2'
@@ -139,10 +140,21 @@ JFrogTokenAudienceJFrogML = _reflection.GeneratedProtocolMessageType('JFrogToken
139
140
  })
140
141
  _sym_db.RegisterMessage(JFrogTokenAudienceJFrogML)
141
142
 
143
+ TokenScopeExtension = _reflection.GeneratedProtocolMessageType('TokenScopeExtension', (_message.Message,), {
144
+ 'DESCRIPTOR' : _TOKENSCOPEEXTENSION,
145
+ '__module__' : 'qwak.ecosystem.jfrog.v0.token_pb2'
146
+ # @@protoc_insertion_point(class_scope:qwak.ecosystem.jfrog.token.v0.TokenScopeExtension)
147
+ })
148
+ _sym_db.RegisterMessage(TokenScopeExtension)
149
+
142
150
  if _descriptor._USE_C_DESCRIPTORS == False:
143
151
 
144
152
  DESCRIPTOR._options = None
145
153
  DESCRIPTOR._serialized_options = b'\n\032com.qwak.ai.jfrog.token.v0P\001Z\226\001github.com/qwak-ai/qwak-platform/services/shared/java/libs/qwak-common/qwak-common-api/qwak-platform-ecosystem-api/pb/qwak/ecosystem/jfrog/v0;jfrog_v0'
154
+ _PERSISTTOKENCLAIMSSPEC.fields_by_name['token']._options = None
155
+ _PERSISTTOKENCLAIMSSPEC.fields_by_name['token']._serialized_options = b'\030\001'
156
+ _SUBJECTANDSCOPESOURCE.fields_by_name['token']._options = None
157
+ _SUBJECTANDSCOPESOURCE.fields_by_name['token']._serialized_options = b'\030\001'
146
158
  _JFROGTOKEN._serialized_start=104
147
159
  _JFROGTOKEN._serialized_end=269
148
160
  _JFROGTOKENTENANTDETAILS._serialized_start=271
@@ -153,24 +165,26 @@ if _descriptor._USE_C_DESCRIPTORS == False:
153
165
  _JFROGTOKENSPEC._serialized_end=820
154
166
  _ARTIFACTORYIMAGEPULLTOKENSPEC._serialized_start=823
155
167
  _ARTIFACTORYIMAGEPULLTOKENSPEC._serialized_end=971
156
- _PERSISTTOKENCLAIMSSPEC._serialized_start=973
157
- _PERSISTTOKENCLAIMSSPEC._serialized_end=1037
158
- _JFROGTOKENREVOKESPEC._serialized_start=1039
159
- _JFROGTOKENREVOKESPEC._serialized_end=1148
160
- _JFROGTOKENTTLSPEC._serialized_start=1150
161
- _JFROGTOKENTTLSPEC._serialized_end=1273
162
- _SUBJECTANDSCOPESOURCE._serialized_start=1276
163
- _SUBJECTANDSCOPESOURCE._serialized_end=1431
164
- _EXPLICITSUBJECTANDSCOPE._serialized_start=1433
165
- _EXPLICITSUBJECTANDSCOPE._serialized_end=1513
166
- _JFROGTOKENAUDIENCES._serialized_start=1515
167
- _JFROGTOKENAUDIENCES._serialized_end=1606
168
- _JFROGTOKENAUDIENCE._serialized_start=1609
169
- _JFROGTOKENAUDIENCE._serialized_end=1871
170
- _JFROGTOKENAUDIENCEARTIFACTORY._serialized_start=1873
171
- _JFROGTOKENAUDIENCEARTIFACTORY._serialized_end=1904
172
- _JFROGTOKENAUDIENCEXRAY._serialized_start=1906
173
- _JFROGTOKENAUDIENCEXRAY._serialized_end=1930
174
- _JFROGTOKENAUDIENCEJFROGML._serialized_start=1932
175
- _JFROGTOKENAUDIENCEJFROGML._serialized_end=1959
168
+ _PERSISTTOKENCLAIMSSPEC._serialized_start=974
169
+ _PERSISTTOKENCLAIMSSPEC._serialized_end=1125
170
+ _JFROGTOKENREVOKESPEC._serialized_start=1127
171
+ _JFROGTOKENREVOKESPEC._serialized_end=1236
172
+ _JFROGTOKENTTLSPEC._serialized_start=1238
173
+ _JFROGTOKENTTLSPEC._serialized_end=1361
174
+ _SUBJECTANDSCOPESOURCE._serialized_start=1364
175
+ _SUBJECTANDSCOPESOURCE._serialized_end=1608
176
+ _EXPLICITSUBJECTANDSCOPE._serialized_start=1610
177
+ _EXPLICITSUBJECTANDSCOPE._serialized_end=1690
178
+ _JFROGTOKENAUDIENCES._serialized_start=1692
179
+ _JFROGTOKENAUDIENCES._serialized_end=1783
180
+ _JFROGTOKENAUDIENCE._serialized_start=1786
181
+ _JFROGTOKENAUDIENCE._serialized_end=2048
182
+ _JFROGTOKENAUDIENCEARTIFACTORY._serialized_start=2050
183
+ _JFROGTOKENAUDIENCEARTIFACTORY._serialized_end=2081
184
+ _JFROGTOKENAUDIENCEXRAY._serialized_start=2083
185
+ _JFROGTOKENAUDIENCEXRAY._serialized_end=2107
186
+ _JFROGTOKENAUDIENCEJFROGML._serialized_start=2109
187
+ _JFROGTOKENAUDIENCEJFROGML._serialized_end=2136
188
+ _TOKENSCOPEEXTENSION._serialized_start=2138
189
+ _TOKENSCOPEEXTENSION._serialized_end=2201
176
190
  # @@protoc_insertion_point(module_scope)
@@ -168,17 +168,22 @@ class PersistTokenClaimsSpec(google.protobuf.message.Message):
168
168
 
169
169
  JFROG_TENANT_ID_FIELD_NUMBER: builtins.int
170
170
  TOKEN_FIELD_NUMBER: builtins.int
171
+ TOKEN_SCOPE_EXTENSION_FIELD_NUMBER: builtins.int
171
172
  jfrog_tenant_id: builtins.str
172
173
  """JFrog tenant id"""
173
174
  token: builtins.str
174
175
  """Token to persist"""
176
+ @property
177
+ def token_scope_extension(self) -> global___TokenScopeExtension: ...
175
178
  def __init__(
176
179
  self,
177
180
  *,
178
181
  jfrog_tenant_id: builtins.str = ...,
179
182
  token: builtins.str = ...,
183
+ token_scope_extension: global___TokenScopeExtension | None = ...,
180
184
  ) -> None: ...
181
- def ClearField(self, field_name: typing_extensions.Literal["jfrog_tenant_id", b"jfrog_tenant_id", "token", b"token"]) -> None: ...
185
+ def HasField(self, field_name: typing_extensions.Literal["token_scope_extension", b"token_scope_extension"]) -> builtins.bool: ...
186
+ def ClearField(self, field_name: typing_extensions.Literal["jfrog_tenant_id", b"jfrog_tenant_id", "token", b"token", "token_scope_extension", b"token_scope_extension"]) -> None: ...
182
187
 
183
188
  global___PersistTokenClaimsSpec = PersistTokenClaimsSpec
184
189
 
@@ -244,6 +249,7 @@ class SubjectAndScopeSource(google.protobuf.message.Message):
244
249
  TOKEN_FIELD_NUMBER: builtins.int
245
250
  TOKEN_ID_FIELD_NUMBER: builtins.int
246
251
  SUBJECT_AND_SCOPE_FIELD_NUMBER: builtins.int
252
+ TOKEN_SCOPE_EXTENSION_FIELD_NUMBER: builtins.int
247
253
  token: builtins.str
248
254
  """Subject and scope will be derived from the claims of the given token"""
249
255
  token_id: builtins.str
@@ -251,16 +257,20 @@ class SubjectAndScopeSource(google.protobuf.message.Message):
251
257
  @property
252
258
  def subject_and_scope(self) -> global___ExplicitSubjectAndScope:
253
259
  """Explicit Subject and scope"""
260
+ @property
261
+ def token_scope_extension(self) -> global___TokenScopeExtension:
262
+ """Token with additional scopes"""
254
263
  def __init__(
255
264
  self,
256
265
  *,
257
266
  token: builtins.str = ...,
258
267
  token_id: builtins.str = ...,
259
268
  subject_and_scope: global___ExplicitSubjectAndScope | None = ...,
269
+ token_scope_extension: global___TokenScopeExtension | None = ...,
260
270
  ) -> None: ...
261
- def HasField(self, field_name: typing_extensions.Literal["source", b"source", "subject_and_scope", b"subject_and_scope", "token", b"token", "token_id", b"token_id"]) -> builtins.bool: ...
262
- def ClearField(self, field_name: typing_extensions.Literal["source", b"source", "subject_and_scope", b"subject_and_scope", "token", b"token", "token_id", b"token_id"]) -> None: ...
263
- def WhichOneof(self, oneof_group: typing_extensions.Literal["source", b"source"]) -> typing_extensions.Literal["token", "token_id", "subject_and_scope"] | None: ...
271
+ def HasField(self, field_name: typing_extensions.Literal["source", b"source", "subject_and_scope", b"subject_and_scope", "token", b"token", "token_id", b"token_id", "token_scope_extension", b"token_scope_extension"]) -> builtins.bool: ...
272
+ def ClearField(self, field_name: typing_extensions.Literal["source", b"source", "subject_and_scope", b"subject_and_scope", "token", b"token", "token_id", b"token_id", "token_scope_extension", b"token_scope_extension"]) -> None: ...
273
+ def WhichOneof(self, oneof_group: typing_extensions.Literal["source", b"source"]) -> typing_extensions.Literal["token", "token_id", "subject_and_scope", "token_scope_extension"] | None: ...
264
274
 
265
275
  global___SubjectAndScopeSource = SubjectAndScopeSource
266
276
 
@@ -358,3 +368,23 @@ class JFrogTokenAudienceJFrogML(google.protobuf.message.Message):
358
368
  ) -> None: ...
359
369
 
360
370
  global___JFrogTokenAudienceJFrogML = JFrogTokenAudienceJFrogML
371
+
372
+ class TokenScopeExtension(google.protobuf.message.Message):
373
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
374
+
375
+ TOKEN_FIELD_NUMBER: builtins.int
376
+ ADDITIONAL_SCOPES_FIELD_NUMBER: builtins.int
377
+ token: builtins.str
378
+ """The given token"""
379
+ @property
380
+ def additional_scopes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
381
+ """A list of scopes to add to the given token"""
382
+ def __init__(
383
+ self,
384
+ *,
385
+ token: builtins.str = ...,
386
+ additional_scopes: collections.abc.Iterable[builtins.str] | None = ...,
387
+ ) -> None: ...
388
+ def ClearField(self, field_name: typing_extensions.Literal["additional_scopes", b"additional_scopes", "token", b"token"]) -> None: ...
389
+
390
+ global___TokenScopeExtension = TokenScopeExtension