agilicus 1.248.1__py3-none-any.whl → 1.249.0__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.
@@ -77,7 +77,7 @@ class ApiClient(object):
77
77
  self.default_headers[header_name] = header_value
78
78
  self.cookie = cookie
79
79
  # Set default User-Agent.
80
- self.user_agent = 'OpenAPI-Generator/1.248.1/python'
80
+ self.user_agent = 'OpenAPI-Generator/1.249.0/python'
81
81
 
82
82
  def __enter__(self):
83
83
  return self
@@ -387,7 +387,7 @@ class Configuration(object):
387
387
  "OS: {env}\n"\
388
388
  "Python Version: {pyversion}\n"\
389
389
  "Version of the API: 2024.04.02\n"\
390
- "SDK Package Version: 1.248.1".\
390
+ "SDK Package Version: 1.249.0".\
391
391
  format(env=sys.platform, pyversion=sys.version)
392
392
 
393
393
  def get_host_settings(self):
@@ -4,7 +4,7 @@ Agilicus is API-first. Modern software is controlled by other software, is open,
4
4
  The `agilicus_api` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
5
5
 
6
6
  - API version: 2024.04.02
7
- - Package version: 1.248.1
7
+ - Package version: 1.249.0
8
8
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
9
9
  For more information, please visit [https://www.agilicus.com/api](https://www.agilicus.com/api)
10
10
 
agilicus/main.py CHANGED
@@ -7931,6 +7931,7 @@ def delete_connector_proxy(ctx, **kwargs):
7931
7931
  @click.option("--token", default=None)
7932
7932
  @click.option("--open-profile", is_flag=True, default=None)
7933
7933
  @click.option("--profile-uri", default=None)
7934
+ @click.option("--description", default=None)
7934
7935
  def create_session_challenge(ctx, token, **kwargs):
7935
7936
  result = tokens.create_session_challenge(ctx, token=token, **kwargs)
7936
7937
  output_entry(ctx, result.to_dict())
agilicus/tokens.py CHANGED
@@ -547,10 +547,13 @@ class RefreshableServiceToken(RefreshableAccessToken):
547
547
  return token
548
548
 
549
549
 
550
- def create_session_challenge(ctx, token=None, open_profile=None, profile_uri=None):
550
+ def create_session_challenge(
551
+ ctx, token=None, open_profile=None, description=None, profile_uri=None
552
+ ):
551
553
  apiclient = context.get_apiclient_from_ctx(ctx, token=token)
552
554
  body = agilicus.SessionChallenge()
553
555
  result = apiclient.tokens_api.create_session_challenge(body)
556
+ result.status.description = description
554
557
  if not open_profile:
555
558
  return result
556
559
 
@@ -565,7 +568,7 @@ def create_session_challenge(ctx, token=None, open_profile=None, profile_uri=Non
565
568
  profile_parts = urlparse(profile_uri)
566
569
 
567
570
  fragment = base64.b64encode(
568
- json.dumps(result.status.challenge.to_dict(), default=str).encode()
571
+ json.dumps(result.status.to_dict(), default=str).encode()
569
572
  ).decode()
570
573
  profile_uri = profile_parts._replace(
571
574
  fragment=fragment, path="/handle_launcher_mfa"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: agilicus
3
- Version: 1.248.1
3
+ Version: 1.249.0
4
4
  Summary: Agilicus SDK
5
5
  Home-page: https://www.agilicus.com/
6
6
  License: MIT
@@ -69,9 +69,9 @@ agilicus/agilicus_api/api/users_api.py,sha256=pf8ZC5CG56FtoDQR7HJTW0yLyE8Bb1Mm5H
69
69
  agilicus/agilicus_api/api/users_api_mock.py,sha256=wA_xiqL3Pz3KjljKlsmf5NveLZS1FpbaKJHBp7QvarY,15411
70
70
  agilicus/agilicus_api/api/whoami_api.py,sha256=JHhZ34On0wHKHtlTGsbLrjm7a1xU4du318F666L7ko4,7941
71
71
  agilicus/agilicus_api/api/whoami_api_mock.py,sha256=rlvZoWnMCqORMZBg7SOv6d3xp52kELdh6wXcCaIZ93w,346
72
- agilicus/agilicus_api/api_client.py,sha256=Sbb9i9Bt_mJA2DDL5UFhi9P8Eh2dPdEl7z84bJHX6jY,38845
72
+ agilicus/agilicus_api/api_client.py,sha256=BSE4kLFq__36gtnP4tT9B4XOkcf283pTfbMl9fi54Rs,38845
73
73
  agilicus/agilicus_api/apis/__init__.py,sha256=QnjTuP08uv9bNvzdrnwROJ4u8C1DVic2YC7kEISgLDY,2161
74
- agilicus/agilicus_api/configuration.py,sha256=W9lTV2YuBDyAMOGRJuDXOMF5ncPqYJWfMJIUbId4z9k,18447
74
+ agilicus/agilicus_api/configuration.py,sha256=9AEEux1e4WBCUr0v9fVDW0WqAc9SCB8mPR8tpDdw-pY,18447
75
75
  agilicus/agilicus_api/docs/APIKey.md,sha256=4cKuz4_l9HcEDnUrLwYbEnn9C2WoDayrjfrY1Ixgaf4,1747
76
76
  agilicus/agilicus_api/docs/APIKeyIntrospect.md,sha256=nJ-zkuFm3JMbWFDYYN_vYyQk1snGBtBvIxtCQxamhAU,1019
77
77
  agilicus/agilicus_api/docs/APIKeyIntrospectAuthorizationInfo.md,sha256=7RApOOLjvWQs5sw2jb25g7i3Kta1BiEY-s8VRXfppH8,725
@@ -2435,7 +2435,7 @@ agilicus/agilicus_api/test/test_x509_root_certificate.py,sha256=q_DbCM4b3ILwozOb
2435
2435
  agilicus/agilicus_api/test/test_x509_root_certificate_spec.py,sha256=dLUOsUuFxPEZYY4UPzat9mZgp-_-_RsSGl-L2XJ153s,2832
2436
2436
  agilicus/agilicus_api/test/test_x509_root_certificate_status.py,sha256=Wim0VPlpgW5HAMZKWMzxVCoZBANnnwLKKttjqSTga0U,2846
2437
2437
  agilicus/agilicus_api/test/test_xss_settings.py,sha256=ueF--oCuXzQeW15aDE7Ab32yRRsEGS_EgwjBG-tyeX4,2746
2438
- agilicus/agilicus_api_README.md,sha256=qR-FLp6nkQQqHiiywnCSHzACwJaSjbol--zwipssT00,157462
2438
+ agilicus/agilicus_api_README.md,sha256=9q41qEPxawRSoeKe2lf7H87ECcCHEnE-A7xcfnusLWw,157462
2439
2439
  agilicus/aliases.ini,sha256=MxqiVo2f2xdUDVF1YDkNW36AIqN8hrYjlTVfraEUZXY,455
2440
2440
  agilicus/amq.py,sha256=yxi-YTbJPVl10s78Hlr1dmrQR63iaSIoROGVILzFPmE,1775
2441
2441
  agilicus/apps.py,sha256=8k_tGraPUVKJURksZwKR8eNGW-4CSPv54FYcApQ3Ly8,50857
@@ -2484,7 +2484,7 @@ agilicus/labels/labels_main.py,sha256=i3HA1ZuMG6N28mwmlhAMt4N95RNpm4eDS3EVRChjRu
2484
2484
  agilicus/launchers.py,sha256=XRW8cO_S7HHs-Cc6_baol9AOOsuGlMto7bLcsKYk6qA,11199
2485
2485
  agilicus/logs.py,sha256=tS8c_sdre1Dncrl59GVGQ0L3d2jtwlVjvIMl3SHJraY,766
2486
2486
  agilicus/lookups.py,sha256=MNmNsKpP7Fq_poLAnL9xo_iptFilKM9ziGLyIe8VKaw,669
2487
- agilicus/main.py,sha256=BS0Bkw9oj_xsAQ5U_xFktk2qB4UuR2nbFaxQAly6R_I,264532
2487
+ agilicus/main.py,sha256=8H7Sth33b5VzNoGBX_s4RkbxF_1eGRVLwSVQbejNFrw,264577
2488
2488
  agilicus/messages.py,sha256=Ydm-VhAsK23UnYdstv_HsOybBODfui5ubKc7F8R_dsw,5187
2489
2489
  agilicus/metrics.py,sha256=v4rwpvqDzeNG5GKNoZ7t34X5qUgly5IW2s-kXlS2vQM,2315
2490
2490
  agilicus/orgs.py,sha256=rwTuumHWz0_QPqWNdDPPdAJRGTTNUxVw7bBkxU5a8n8,12874
@@ -2517,15 +2517,15 @@ agilicus/ssh.py,sha256=mVqMlDM2zAcUphehyz9djXjrRPSIxR1qJr2Ehvl3Rvw,2925
2517
2517
  agilicus/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2518
2518
  agilicus/tests/keyring_test.py,sha256=Uwp2VS2_NffYBgHAS9bXuXnIxRoK0_VOWaaYCZKv0lg,1452
2519
2519
  agilicus/token_parser.py,sha256=BQUSvwOVSDtHuROrR-Kk5pW-EijMUHmfObRABEoC5po,701
2520
- agilicus/tokens.py,sha256=nUK3GLp8Y-C-6O-KvgBBneXvILNa8a6FFSNV5hRM1Wg,18729
2520
+ agilicus/tokens.py,sha256=0DjiFPHFPhqRyCX19khozovT2Jjb1fSPl73i29V0z5E,18787
2521
2521
  agilicus/transfers.py,sha256=PYr_fW7dyXNUXzi5Wp5mUjZOvU7MbRzoN-D8Omo-YSQ,1523
2522
2522
  agilicus/trusted_certs/trusted_certs.py,sha256=HCAvYxOA3ooaee2_KbYJd6Yt_dxDEn8hjhy1upVJUYE,7951
2523
2523
  agilicus/trusted_certs/trusted_certs_main.py,sha256=6dHHWXvNIcUa_nA9ptigL4Vibe4nB2wnWFTTJ8AOgXo,5155
2524
2524
  agilicus/users.py,sha256=cBqZwqNz_9lcEJuFL5YTUFpbN56kL0-maBlM29KWWrQ,38728
2525
2525
  agilicus/version.py,sha256=G9OFdL1v_4dLDfk6I6taDNypM5bbO-JHAwilsu9LYgg,23
2526
2526
  agilicus/whoami.py,sha256=kqghtWMgZOd2rhKmfguDwCTm6A3gNS8Kj-S2IBxBtl0,206
2527
- agilicus-1.248.1.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
2528
- agilicus-1.248.1.dist-info/METADATA,sha256=Iezislm97JxAn2qug9Oh3X06TecX0xosyozNYisAC-M,3822
2529
- agilicus-1.248.1.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
2530
- agilicus-1.248.1.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
2531
- agilicus-1.248.1.dist-info/RECORD,,
2527
+ agilicus-1.249.0.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
2528
+ agilicus-1.249.0.dist-info/METADATA,sha256=WmHlD_Slm_doKh2toaUowMOrk6JODGH1Zh4KCR_Qw_I,3822
2529
+ agilicus-1.249.0.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
2530
+ agilicus-1.249.0.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
2531
+ agilicus-1.249.0.dist-info/RECORD,,