@@ -32,6 +32,7 @@ class _CredentialsTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper
3232 CREDENTIALS_TYPE_ROBOT_SECRET : _CredentialsType .ValueType
3333 CREDENTIALS_TYPE_ROBOT_LOCATION_SECRET : _CredentialsType .ValueType
3434 CREDENTIALS_TYPE_WEB_OAUTH : _CredentialsType .ValueType
35+ 'TODO(APP-1412): remove after a week from being deployed'
3536
3637class CredentialsType (_CredentialsType , metaclass = _CredentialsTypeEnumTypeWrapper ):
3738 ...
@@ -41,6 +42,7 @@ CREDENTIALS_TYPE_API_KEY: CredentialsType.ValueType
4142CREDENTIALS_TYPE_ROBOT_SECRET : CredentialsType .ValueType
4243CREDENTIALS_TYPE_ROBOT_LOCATION_SECRET : CredentialsType .ValueType
4344CREDENTIALS_TYPE_WEB_OAUTH : CredentialsType .ValueType
45+ 'TODO(APP-1412): remove after a week from being deployed'
4446global___CredentialsType = CredentialsType
4547
4648@typing_extensions .final
@@ -334,6 +336,7 @@ class AuthConfig(google.protobuf.message.Message):
334336 DESCRIPTOR : google .protobuf .descriptor .Descriptor
335337 HANDLERS_FIELD_NUMBER : builtins .int
336338 TLS_AUTH_ENTITIES_FIELD_NUMBER : builtins .int
339+ EXTERNAL_AUTH_CONFIG_FIELD_NUMBER : builtins .int
337340
338341 @property
339342 def handlers (self ) -> google .protobuf .internal .containers .RepeatedCompositeFieldContainer [global___AuthHandlerConfig ]:
@@ -343,10 +346,20 @@ class AuthConfig(google.protobuf.message.Message):
343346 def tls_auth_entities (self ) -> google .protobuf .internal .containers .RepeatedScalarFieldContainer [builtins .str ]:
344347 ...
345348
346- def __init__ (self , * , handlers : collections .abc .Iterable [global___AuthHandlerConfig ] | None = ..., tls_auth_entities : collections .abc .Iterable [builtins .str ] | None = ...) -> None :
349+ @property
350+ def external_auth_config (self ) -> global___ExternalAuthConfig :
351+ ...
352+
353+ def __init__ (self , * , handlers : collections .abc .Iterable [global___AuthHandlerConfig ] | None = ..., tls_auth_entities : collections .abc .Iterable [builtins .str ] | None = ..., external_auth_config : global___ExternalAuthConfig | None = ...) -> None :
354+ ...
355+
356+ def HasField (self , field_name : typing_extensions .Literal ['_external_auth_config' , b'_external_auth_config' , 'external_auth_config' , b'external_auth_config' ]) -> builtins .bool :
357+ ...
358+
359+ def ClearField (self , field_name : typing_extensions .Literal ['_external_auth_config' , b'_external_auth_config' , 'external_auth_config' , b'external_auth_config' , 'handlers' , b'handlers' , 'tls_auth_entities' , b'tls_auth_entities' ]) -> None :
347360 ...
348361
349- def ClearField (self , field_name : typing_extensions .Literal ['handlers ' , b'handlers' , 'tls_auth_entities' , b'tls_auth_entities' ]) -> None :
362+ def WhichOneof (self , oneof_group : typing_extensions .Literal ['_external_auth_config ' , b'_external_auth_config' ]) -> typing_extensions . Literal [ 'external_auth_config' ] | None :
350363 ...
351364global___AuthConfig = AuthConfig
352365
@@ -373,7 +386,9 @@ global___JWKSFile = JWKSFile
373386
374387@typing_extensions .final
375388class AuthHandlerWebOauthConfig (google .protobuf .message .Message ):
376- """Structured config for the credential type CREDENTIALS_TYPE_WEB_OAUTH"""
389+ """Structured config for the credential type CREDENTIALS_TYPE_WEB_OAUTH
390+ TODO(APP-1412): remove after a week from being deployed
391+ """
377392 DESCRIPTOR : google .protobuf .descriptor .Descriptor
378393 ALLOWED_AUDIENCES_FIELD_NUMBER : builtins .int
379394 JWKS_FIELD_NUMBER : builtins .int
@@ -396,6 +411,28 @@ class AuthHandlerWebOauthConfig(google.protobuf.message.Message):
396411 ...
397412global___AuthHandlerWebOauthConfig = AuthHandlerWebOauthConfig
398413
414+ @typing_extensions .final
415+ class ExternalAuthConfig (google .protobuf .message .Message ):
416+ """ExternalAuthConfig describes how a viam managed robot can accept
417+ credentials signed by the cloud app.
418+ """
419+ DESCRIPTOR : google .protobuf .descriptor .Descriptor
420+ JWKS_FIELD_NUMBER : builtins .int
421+
422+ @property
423+ def jwks (self ) -> global___JWKSFile :
424+ ...
425+
426+ def __init__ (self , * , jwks : global___JWKSFile | None = ...) -> None :
427+ ...
428+
429+ def HasField (self , field_name : typing_extensions .Literal ['jwks' , b'jwks' ]) -> builtins .bool :
430+ ...
431+
432+ def ClearField (self , field_name : typing_extensions .Literal ['jwks' , b'jwks' ]) -> None :
433+ ...
434+ global___ExternalAuthConfig = ExternalAuthConfig
435+
399436@typing_extensions .final
400437class AuthHandlerConfig (google .protobuf .message .Message ):
401438 DESCRIPTOR : google .protobuf .descriptor .Descriptor
0 commit comments