CheckmarxPythonSDK 1.6.0__py3-none-any.whl → 1.6.2__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.
Files changed (219) hide show
  1. CheckmarxPythonSDK/CxOne/KeycloakAPI/AttackDetectionApi.py +65 -0
  2. CheckmarxPythonSDK/CxOne/KeycloakAPI/AuthenticationManagementApi.py +660 -0
  3. CheckmarxPythonSDK/CxOne/KeycloakAPI/ClientAttributeCertificateApi.py +130 -0
  4. CheckmarxPythonSDK/CxOne/KeycloakAPI/ClientInitialAccessApi.py +67 -0
  5. CheckmarxPythonSDK/CxOne/KeycloakAPI/ClientRegistrationPolicyApi.py +30 -0
  6. CheckmarxPythonSDK/CxOne/KeycloakAPI/ClientRoleMappingsApi.py +215 -0
  7. CheckmarxPythonSDK/CxOne/KeycloakAPI/ClientRolesApi.py +636 -0
  8. CheckmarxPythonSDK/CxOne/KeycloakAPI/ClientScopesApi.py +197 -0
  9. CheckmarxPythonSDK/CxOne/KeycloakAPI/ClientsApi.py +679 -0
  10. CheckmarxPythonSDK/CxOne/KeycloakAPI/ComponentApi.py +126 -0
  11. CheckmarxPythonSDK/CxOne/KeycloakAPI/GroupsApi.py +241 -0
  12. CheckmarxPythonSDK/CxOne/KeycloakAPI/IdentityProvidersApi.py +325 -0
  13. CheckmarxPythonSDK/CxOne/KeycloakAPI/KeyApi.py +29 -0
  14. CheckmarxPythonSDK/CxOne/KeycloakAPI/ProtocolMappersApi.py +434 -0
  15. CheckmarxPythonSDK/CxOne/KeycloakAPI/RealmsAdminApi.py +797 -0
  16. CheckmarxPythonSDK/CxOne/KeycloakAPI/RoleMapperApi.py +240 -0
  17. CheckmarxPythonSDK/CxOne/KeycloakAPI/RolesApi.py +587 -0
  18. CheckmarxPythonSDK/CxOne/KeycloakAPI/RolesByIdApi.py +207 -0
  19. CheckmarxPythonSDK/CxOne/KeycloakAPI/ScopeMappingsApi.py +662 -0
  20. CheckmarxPythonSDK/CxOne/KeycloakAPI/UsersApi.py +672 -0
  21. CheckmarxPythonSDK/CxOne/KeycloakAPI/__init__.py +20 -62
  22. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/Access.py +30 -0
  23. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AccessToken.py +210 -191
  24. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AddressClaimSet.py +42 -35
  25. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AdminEventRepresentation.py +57 -0
  26. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ApplicationRepresentation.py +214 -0
  27. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ApplicationRepresentationClaims.py +62 -0
  28. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AuthDetailsRepresentation.py +38 -0
  29. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AuthenticationExecutionExportRepresentation.py +50 -40
  30. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AuthenticationExecutionInfoRepresentation.py +70 -65
  31. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AuthenticationExecutionRepresentation.py +54 -44
  32. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AuthenticationFlowRepresentation.py +52 -40
  33. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AuthenticatorConfigInfoRepresentation.py +39 -27
  34. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/AuthenticatorConfigRepresentation.py +30 -23
  35. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/Authorization.py +31 -0
  36. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/CertificateRepresentation.py +34 -27
  37. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClaimRepresentation.py +62 -0
  38. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientInitialAccessCreatePresentation.py +26 -19
  39. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientInitialAccessPresentation.py +42 -35
  40. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientMappingsRepresentation.py +35 -23
  41. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientPoliciesRepresentation.py +27 -15
  42. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientPolicyConditionRepresentation.py +26 -19
  43. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientPolicyExecutorRepresentation.py +26 -19
  44. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientPolicyRepresentation.py +43 -31
  45. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientProfileRepresentation.py +35 -23
  46. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientProfilesRepresentation.py +35 -19
  47. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientRepresentation.py +203 -170
  48. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientScopeRepresentation.py +47 -35
  49. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ClientTemplateRepresentation.py +87 -0
  50. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ComponentExportRepresentation.py +42 -35
  51. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ComponentRepresentation.py +46 -39
  52. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ComponentTypeRepresentation.py +43 -0
  53. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/Composites.py +34 -0
  54. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ConfigPropertyRepresentation.py +54 -39
  55. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/Confirmation.py +30 -0
  56. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/CredentialRepresentation.py +90 -48
  57. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/DecisionStrategy.py +22 -0
  58. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/EnforcementMode.py +22 -0
  59. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/EventRepresentation.py +58 -0
  60. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/FederatedIdentityRepresentation.py +30 -23
  61. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/GlobalRequestResult.py +26 -19
  62. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/GroupRepresentation.py +58 -43
  63. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/IDToken.py +173 -166
  64. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/IdentityProviderMapperRepresentation.py +38 -32
  65. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/IdentityProviderMapperTypeRepresentation.py +47 -0
  66. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/IdentityProviderRepresentation.py +78 -61
  67. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/InstallationAdapterConfig.py +73 -0
  68. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/KeyMetadataRepresentation.py +65 -0
  69. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/KeyStoreConfig.py +42 -36
  70. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/KeyUse.py +22 -0
  71. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/KeysMetadataRepresentation.py +31 -19
  72. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/Logic.py +22 -0
  73. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ManagementPermissionReference.py +28 -31
  74. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/MappingsRepresentation.py +31 -19
  75. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/MethodConfig.py +38 -0
  76. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/OAuthClientRepresentation.py +214 -0
  77. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/PathCacheConfig.py +30 -0
  78. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/PathConfig.py +74 -0
  79. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/PathSegment.py +30 -0
  80. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/Permission.py +34 -27
  81. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/PolicyEnforcementMode.py +22 -0
  82. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/PolicyEnforcerConfig.py +81 -0
  83. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/PolicyRepresentation.py +86 -64
  84. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ProtocolMapperEvaluationRepresentation.py +46 -0
  85. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ProtocolMapperRepresentation.py +46 -31
  86. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/PublishedRealmRepresentation.py +42 -0
  87. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/RealmEventsConfigRepresentation.py +42 -36
  88. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/RealmRepresentation.py +686 -544
  89. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/RequiredActionProviderRepresentation.py +46 -39
  90. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ResourceOwnerRepresentation.py +30 -0
  91. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ResourceRepresentation.py +78 -48
  92. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ResourceRepresentationOwner.py +30 -0
  93. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ResourceServerRepresentation.py +76 -48
  94. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/RoleRepresentation.py +57 -49
  95. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/RolesRepresentation.py +35 -19
  96. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ScopeEnforcementMode.py +22 -0
  97. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ScopeMappingRepresentation.py +38 -27
  98. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/ScopeRepresentation.py +54 -35
  99. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/SocialLinkRepresentation.py +34 -0
  100. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/UPAttribute.py +63 -0
  101. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/UPAttributePermissions.py +30 -0
  102. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/UPAttributeRequired.py +30 -0
  103. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/UPAttributeSelector.py +26 -0
  104. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/UPConfig.py +40 -0
  105. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/UPGroup.py +38 -0
  106. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/UserConsentRepresentation.py +38 -27
  107. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/UserFederationMapperRepresentation.py +38 -32
  108. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/UserFederationProviderRepresentation.py +50 -44
  109. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/UserProfileAttributeGroupMetadata.py +38 -0
  110. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/UserProfileAttributeMetadata.py +54 -0
  111. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/UserProfileMetadata.py +40 -0
  112. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/UserRepresentation.py +149 -106
  113. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/UserSessionRepresentation.py +54 -0
  114. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/__init__.py +1 -92
  115. CheckmarxPythonSDK/CxOne/__init__.py +34 -4
  116. CheckmarxPythonSDK/CxOne/accessControlAPI.py +190 -0
  117. CheckmarxPythonSDK/CxOne/dto/AccessToken.py +195 -0
  118. CheckmarxPythonSDK/CxOne/dto/AddressClaimSet.py +39 -0
  119. CheckmarxPythonSDK/CxOne/dto/AstIdWithName.py +26 -0
  120. CheckmarxPythonSDK/CxOne/dto/AstUser.py +39 -0
  121. CheckmarxPythonSDK/CxOne/dto/AuthenticationExecutionExportRepresentation.py +44 -0
  122. CheckmarxPythonSDK/CxOne/dto/AuthenticationExecutionInfoRepresentation.py +69 -0
  123. CheckmarxPythonSDK/CxOne/dto/AuthenticationExecutionRepresentation.py +48 -0
  124. CheckmarxPythonSDK/CxOne/dto/AuthenticationFlowRepresentation.py +44 -0
  125. CheckmarxPythonSDK/CxOne/dto/AuthenticatorConfigInfoRepresentation.py +31 -0
  126. CheckmarxPythonSDK/CxOne/dto/AuthenticatorConfigRepresentation.py +27 -0
  127. CheckmarxPythonSDK/CxOne/dto/CertificateRepresentation.py +31 -0
  128. CheckmarxPythonSDK/CxOne/dto/ClientInitialAccessCreatePresentation.py +23 -0
  129. CheckmarxPythonSDK/CxOne/dto/ClientInitialAccessPresentation.py +39 -0
  130. CheckmarxPythonSDK/CxOne/dto/ClientMappingsRepresentation.py +27 -0
  131. CheckmarxPythonSDK/CxOne/dto/ClientPoliciesRepresentation.py +19 -0
  132. CheckmarxPythonSDK/CxOne/dto/ClientPolicyConditionRepresentation.py +23 -0
  133. CheckmarxPythonSDK/CxOne/dto/ClientPolicyExecutorRepresentation.py +23 -0
  134. CheckmarxPythonSDK/CxOne/dto/ClientPolicyRepresentation.py +35 -0
  135. CheckmarxPythonSDK/CxOne/dto/ClientProfileRepresentation.py +27 -0
  136. CheckmarxPythonSDK/CxOne/dto/ClientProfilesRepresentation.py +23 -0
  137. CheckmarxPythonSDK/CxOne/dto/ClientRepresentation.py +174 -0
  138. CheckmarxPythonSDK/CxOne/dto/ClientScopeRepresentation.py +39 -0
  139. CheckmarxPythonSDK/CxOne/dto/ComponentExportRepresentation.py +39 -0
  140. CheckmarxPythonSDK/CxOne/dto/ComponentRepresentation.py +43 -0
  141. CheckmarxPythonSDK/CxOne/dto/Composites.py +17 -0
  142. CheckmarxPythonSDK/CxOne/dto/ConfigPropertyRepresentation.py +43 -0
  143. CheckmarxPythonSDK/CxOne/dto/CredentialRepresentation.py +68 -0
  144. CheckmarxPythonSDK/CxOne/dto/FederatedIdentityRepresentation.py +23 -0
  145. CheckmarxPythonSDK/CxOne/dto/GlobalRequestResult.py +23 -0
  146. CheckmarxPythonSDK/CxOne/dto/IDToken.py +170 -0
  147. CheckmarxPythonSDK/CxOne/dto/IdentityProviderMapperRepresentation.py +36 -0
  148. CheckmarxPythonSDK/CxOne/dto/IdentityProviderRepresentation.py +65 -0
  149. CheckmarxPythonSDK/CxOne/dto/KeyStoreConfig.py +40 -0
  150. CheckmarxPythonSDK/CxOne/dto/KeysMetadataRepresentation.py +23 -0
  151. CheckmarxPythonSDK/CxOne/dto/ManagementPermissionReference.py +37 -0
  152. CheckmarxPythonSDK/CxOne/dto/MappingsRepresentation.py +23 -0
  153. CheckmarxPythonSDK/CxOne/dto/PolicyRepresentation.py +68 -0
  154. CheckmarxPythonSDK/CxOne/dto/ProtocolMapperRepresentation.py +35 -0
  155. CheckmarxPythonSDK/CxOne/dto/RealmEventsConfigRepresentation.py +40 -0
  156. CheckmarxPythonSDK/CxOne/dto/RealmRepresentation.py +548 -0
  157. CheckmarxPythonSDK/CxOne/dto/RequiredActionProviderRepresentation.py +43 -0
  158. CheckmarxPythonSDK/CxOne/dto/ResourceRepresentation.py +52 -0
  159. CheckmarxPythonSDK/CxOne/dto/ResourceServerRepresentation.py +52 -0
  160. CheckmarxPythonSDK/CxOne/dto/Role.py +8 -2
  161. CheckmarxPythonSDK/CxOne/dto/RoleRepresentation.py +45 -0
  162. CheckmarxPythonSDK/CxOne/dto/RoleRepresentationComposites.py +20 -0
  163. CheckmarxPythonSDK/CxOne/{KeycloakAPI/dto/RoleRepresentationComposites.py → dto/RolesRepresentation.py} +4 -4
  164. CheckmarxPythonSDK/CxOne/dto/Scanner.py +8 -8
  165. CheckmarxPythonSDK/CxOne/dto/ScopeMappingRepresentation.py +31 -0
  166. CheckmarxPythonSDK/CxOne/dto/ScopeRepresentation.py +39 -0
  167. CheckmarxPythonSDK/CxOne/dto/SocialLinkRepresentation.py +23 -0
  168. CheckmarxPythonSDK/CxOne/dto/UserConsentRepresentation.py +30 -0
  169. CheckmarxPythonSDK/CxOne/dto/UserFederationMapperRepresentation.py +29 -0
  170. CheckmarxPythonSDK/CxOne/dto/UserFederationProviderRepresentation.py +38 -0
  171. CheckmarxPythonSDK/CxOne/dto/UserProfileAttributeGroupMetadata.py +26 -0
  172. CheckmarxPythonSDK/CxOne/dto/UserProfileAttributeMetadata.py +35 -0
  173. CheckmarxPythonSDK/CxOne/dto/UserProfileMetadata.py +24 -0
  174. CheckmarxPythonSDK/CxOne/dto/UserRepresentation.py +104 -0
  175. CheckmarxPythonSDK/CxOne/dto/__init__.py +16 -0
  176. CheckmarxPythonSDK/CxOne/repoManagerAPI.py +3 -3
  177. CheckmarxPythonSDK/CxOne/uploadsAPI.py +1 -1
  178. CheckmarxPythonSDK/CxScaApiSDK/__init__.py +1 -0
  179. CheckmarxPythonSDK/CxScaApiSDK/api.py +29 -2
  180. CheckmarxPythonSDK/__version__.py +1 -1
  181. CheckmarxPythonSDK/api_client.py +27 -74
  182. {checkmarxpythonsdk-1.6.0.dist-info → checkmarxpythonsdk-1.6.2.dist-info}/METADATA +1 -1
  183. {checkmarxpythonsdk-1.6.0.dist-info → checkmarxpythonsdk-1.6.2.dist-info}/RECORD +205 -101
  184. CheckmarxPythonSDK/CxOne/AccessControlAPI/__init__.py +0 -6
  185. CheckmarxPythonSDK/CxOne/AccessControlAPI/api.py +0 -120
  186. CheckmarxPythonSDK/CxOne/AccessControlAPI/dto/AstIdWithName.py +0 -23
  187. CheckmarxPythonSDK/CxOne/AccessControlAPI/dto/AstUser.py +0 -47
  188. CheckmarxPythonSDK/CxOne/AccessControlAPI/dto/__init__.py +0 -2
  189. CheckmarxPythonSDK/CxOne/KeycloakAPI/ClientRoleMappingsAPI.py +0 -45
  190. CheckmarxPythonSDK/CxOne/KeycloakAPI/ClientsAPI.py +0 -364
  191. CheckmarxPythonSDK/CxOne/KeycloakAPI/GroupsAPI.py +0 -441
  192. CheckmarxPythonSDK/CxOne/KeycloakAPI/RoleMapperAPI.py +0 -26
  193. CheckmarxPythonSDK/CxOne/KeycloakAPI/RolesAPI.py +0 -247
  194. CheckmarxPythonSDK/CxOne/KeycloakAPI/RootAPI.py +0 -29
  195. CheckmarxPythonSDK/CxOne/KeycloakAPI/UsersAPI.py +0 -490
  196. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/Group.py +0 -32
  197. CheckmarxPythonSDK/CxOne/KeycloakAPI/dto/User.py +0 -54
  198. /CheckmarxPythonSDK/CxOne/KeycloakAPI/{url.py → api_url.py} +0 -0
  199. /CheckmarxPythonSDK/CxOne/{KeycloakAPI/dto → dto}/AccessTokenAccess.py +0 -0
  200. /CheckmarxPythonSDK/CxOne/{KeycloakAPI/dto → dto}/AccessTokenAuthorization.py +0 -0
  201. /CheckmarxPythonSDK/CxOne/{KeycloakAPI/dto → dto}/AccessTokenCertConf.py +0 -0
  202. /CheckmarxPythonSDK/CxOne/{KeycloakAPI/dto → dto}/ClientScopeEvaluateResourceProtocolMapperEvaluationRepresentation.py +0 -0
  203. /CheckmarxPythonSDK/CxOne/{KeycloakAPI/dto → dto}/JsonNode.py +0 -0
  204. /CheckmarxPythonSDK/CxOne/{KeycloakAPI/dto → dto}/KeysMetadataRepresentationKeyMetadataRepresentation.py +0 -0
  205. /CheckmarxPythonSDK/CxOne/{KeycloakAPI/dto → dto}/MemoryInfoRepresentation.py +0 -0
  206. /CheckmarxPythonSDK/CxOne/{KeycloakAPI/dto → dto}/MultivaluedHashMap.py +0 -0
  207. /CheckmarxPythonSDK/CxOne/{KeycloakAPI/dto → dto}/PartialImportRepresentation.py +0 -0
  208. /CheckmarxPythonSDK/CxOne/{KeycloakAPI/dto → dto}/PasswordPolicyTypeRepresentation.py +0 -0
  209. /CheckmarxPythonSDK/CxOne/{KeycloakAPI/dto → dto}/ProfileInfoRepresentation.py +0 -0
  210. /CheckmarxPythonSDK/CxOne/{KeycloakAPI/dto → dto}/ProviderRepresentation.py +0 -0
  211. /CheckmarxPythonSDK/CxOne/{KeycloakAPI/dto → dto}/ScopePermissions.py +0 -0
  212. /CheckmarxPythonSDK/CxOne/{KeycloakAPI/dto → dto}/ServerInfoRepresentation.py +0 -0
  213. /CheckmarxPythonSDK/CxOne/{KeycloakAPI/dto → dto}/SpiInfoRepresentation.py +0 -0
  214. /CheckmarxPythonSDK/CxOne/{KeycloakAPI/dto → dto}/SynchronizationResult.py +0 -0
  215. /CheckmarxPythonSDK/CxOne/{KeycloakAPI/dto → dto}/SystemInfoRepresentation.py +0 -0
  216. /CheckmarxPythonSDK/CxOne/{KeycloakAPI/dto → dto}/TestLdapConnectionRepresentation.py +0 -0
  217. {checkmarxpythonsdk-1.6.0.dist-info → checkmarxpythonsdk-1.6.2.dist-info}/WHEEL +0 -0
  218. {checkmarxpythonsdk-1.6.0.dist-info → checkmarxpythonsdk-1.6.2.dist-info}/licenses/LICENSE +0 -0
  219. {checkmarxpythonsdk-1.6.0.dist-info → checkmarxpythonsdk-1.6.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,660 @@
1
+ from CheckmarxPythonSDK.api_client import ApiClient
2
+ from CheckmarxPythonSDK.CxOne.config import construct_configuration
3
+ from typing import Dict, List, Any, Optional
4
+ from .dto.AuthenticationExecutionInfoRepresentation import AuthenticationExecutionInfoRepresentation
5
+ from .dto.AuthenticationExecutionRepresentation import AuthenticationExecutionRepresentation
6
+ from .dto.AuthenticationFlowRepresentation import AuthenticationFlowRepresentation
7
+ from .dto.AuthenticatorConfigInfoRepresentation import AuthenticatorConfigInfoRepresentation
8
+ from .dto.AuthenticatorConfigRepresentation import AuthenticatorConfigRepresentation
9
+ from .dto.RequiredActionProviderRepresentation import RequiredActionProviderRepresentation
10
+ from .api_url import api_url
11
+
12
+
13
+ class AuthenticationManagementApi:
14
+ def __init__(self, api_client: ApiClient = None):
15
+ if api_client is None:
16
+ configuration = construct_configuration()
17
+ api_client = ApiClient(configuration=configuration)
18
+ self.api_client = api_client
19
+
20
+ def get_authenticator_providers(self, realm: str) -> List[Dict[str, Any]]:
21
+ """
22
+ Get authenticator providers Returns a stream of authenticator providers.
23
+
24
+ Args:
25
+ realm (str): [required]
26
+
27
+ Returns:
28
+ List[Dict[str, Any]]
29
+
30
+ URL:
31
+ Relative path: /{realm}/authentication/authenticator-providers
32
+ """
33
+ relative_url = f"{api_url}/{realm}/authentication/authenticator_providers"
34
+ response = self.api_client.get_request(relative_url=relative_url, is_iam=True)
35
+ return response.json()
36
+
37
+ def get_client_authenticator_providers(self, realm: str) -> List[Dict[str, Any]]:
38
+ """
39
+ Get client authenticator providers Returns a stream of client authenticator providers.
40
+
41
+ Args:
42
+ realm (str): [required]
43
+
44
+ Returns:
45
+ List[Dict[str, Any]]
46
+
47
+ URL:
48
+ Relative path: /{realm}/authentication/client-authenticator-providers
49
+ """
50
+ relative_url = f"{api_url}/{realm}/authentication/client_authenticator_providers"
51
+ response = self.api_client.get_request(relative_url=relative_url, is_iam=True)
52
+ return response.json()
53
+
54
+ def post_authentication_config(self, realm: str,
55
+ authenticator_config_representation: AuthenticatorConfigRepresentation) -> bool:
56
+ """
57
+ Create new authenticator configuration
58
+
59
+ Args:
60
+ realm (str): [required]
61
+ authenticator_config_representation (AuthenticatorConfigRepresentation): Request body data [required]
62
+
63
+ Returns:
64
+ bool
65
+
66
+ URL:
67
+ Relative path: /{realm}/authentication/config
68
+ """
69
+ relative_url = f"{api_url}/{realm}/authentication/config"
70
+ response = self.api_client.post_request(relative_url=relative_url,
71
+ json=authenticator_config_representation.to_dict(), is_iam=True)
72
+ return response.status_code == 200
73
+
74
+ def get_config_description(self, realm: str, provider_id: str) -> AuthenticatorConfigInfoRepresentation:
75
+ """
76
+ Get authenticator provider’s configuration description
77
+
78
+ Args:
79
+ realm (str): [required]
80
+ provider_id (str): [required]
81
+
82
+ Returns:
83
+ AuthenticatorConfigInfoRepresentation
84
+
85
+ URL:
86
+ Relative path: /{realm}/authentication/config-description/{providerId}
87
+ """
88
+ relative_url = f"{api_url}/{realm}/authentication/config_description/{provider_id}"
89
+ response = self.api_client.get_request(relative_url=relative_url, is_iam=True)
90
+ return AuthenticatorConfigInfoRepresentation.from_dict(response.json())
91
+
92
+ def get_authentication_config(self, realm: str, id: str) -> AuthenticatorConfigRepresentation:
93
+ """
94
+ Get authenticator configuration
95
+
96
+ Args:
97
+ realm (str): [required]
98
+ id (str): [required]
99
+
100
+ Returns:
101
+ AuthenticatorConfigRepresentation
102
+
103
+ URL:
104
+ Relative path: /{realm}/authentication/config/{id}
105
+ """
106
+ relative_url = f"{api_url}/{realm}/authentication/config/{id}"
107
+ response = self.api_client.get_request(relative_url=relative_url, is_iam=True)
108
+ return AuthenticatorConfigRepresentation.from_dict(response.json())
109
+
110
+ def put_authentication_config(self, realm: str, id: str,
111
+ authenticator_config_representation: AuthenticatorConfigRepresentation) -> bool:
112
+ """
113
+ Update authenticator configuration
114
+
115
+ Args:
116
+ realm (str): [required]
117
+ id (str): [required]
118
+ authenticator_config_representation (AuthenticatorConfigRepresentation): Request body data [required]
119
+
120
+ Returns:
121
+ bool
122
+
123
+ URL:
124
+ Relative path: /{realm}/authentication/config/{id}
125
+ """
126
+ relative_url = f"{api_url}/{realm}/authentication/config/{id}"
127
+ response = self.api_client.put_request(relative_url=relative_url,
128
+ json=authenticator_config_representation.to_dict(), is_iam=True)
129
+ return response.status_code == 204
130
+
131
+ def delete_config(self, realm: str, id: str) -> bool:
132
+ """
133
+ Delete authenticator configuration
134
+
135
+ Args:
136
+ realm (str): [required]
137
+ id (str): [required]
138
+
139
+ Returns:
140
+ bool
141
+
142
+ URL:
143
+ Relative path: /{realm}/authentication/config/{id}
144
+ """
145
+ relative_url = f"{api_url}/{realm}/authentication/config/{id}"
146
+ response = self.api_client.delete_request(relative_url=relative_url, is_iam=True)
147
+ return response.status_code == 204
148
+
149
+ def post_executions(self, realm: str,
150
+ authentication_execution_representation: AuthenticationExecutionRepresentation) -> bool:
151
+ """
152
+ Add new authentication execution
153
+
154
+ Args:
155
+ realm (str): [required]
156
+ authentication_execution_representation (AuthenticationExecutionRepresentation): Request body data [required]
157
+
158
+ Returns:
159
+ bool
160
+
161
+ URL:
162
+ Relative path: /{realm}/authentication/executions
163
+ """
164
+ relative_url = f"{api_url}/{realm}/authentication/executions"
165
+ response = self.api_client.post_request(relative_url=relative_url,
166
+ json=authentication_execution_representation.to_dict(), is_iam=True)
167
+ return response.status_code == 200
168
+
169
+ def get_execution(self, realm: str, execution_id: str) -> bool:
170
+ """
171
+ Get Single Execution
172
+
173
+ Args:
174
+ realm (str): [required]
175
+ execution_id (str): [required]
176
+
177
+ Returns:
178
+ bool
179
+
180
+ URL:
181
+ Relative path: /{realm}/authentication/executions/{executionId}
182
+ """
183
+ relative_url = f"{api_url}/{realm}/authentication/executions/{execution_id}"
184
+ response = self.api_client.get_request(relative_url=relative_url, is_iam=True)
185
+ return response.status_code == 200
186
+
187
+ def delete_execution(self, realm: str, execution_id: str) -> bool:
188
+ """
189
+ Delete execution
190
+
191
+ Args:
192
+ realm (str): [required]
193
+ execution_id (str): [required]
194
+
195
+ Returns:
196
+ bool
197
+
198
+ URL:
199
+ Relative path: /{realm}/authentication/executions/{executionId}
200
+ """
201
+ relative_url = f"{api_url}/{realm}/authentication/executions/{execution_id}"
202
+ response = self.api_client.delete_request(relative_url=relative_url, is_iam=True)
203
+ return response.status_code == 204
204
+
205
+ def post_execution_config(self, realm: str, execution_id: str,
206
+ authenticator_config_representation: AuthenticatorConfigRepresentation) -> bool:
207
+ """
208
+ Update execution with new configuration
209
+
210
+ Args:
211
+ realm (str): [required]
212
+ execution_id (str): [required]
213
+ authenticator_config_representation (AuthenticatorConfigRepresentation): Request body data [required]
214
+
215
+ Returns:
216
+ bool
217
+
218
+ URL:
219
+ Relative path: /{realm}/authentication/executions/{executionId}/config
220
+ """
221
+ relative_url = f"{api_url}/{realm}/authentication/executions/{execution_id}/config"
222
+ response = self.api_client.post_request(relative_url=relative_url,
223
+ json=authenticator_config_representation.to_dict(), is_iam=True)
224
+ return response.status_code == 200
225
+
226
+ def get_execution_config(self, realm: str, execution_id: str, id: str) -> AuthenticatorConfigRepresentation:
227
+ """
228
+ Get execution’s configuration
229
+
230
+ Args:
231
+ realm (str): [required]
232
+ execution_id (str): [required]
233
+ id (str): [required]
234
+
235
+ Returns:
236
+ AuthenticatorConfigRepresentation
237
+
238
+ URL:
239
+ Relative path: /{realm}/authentication/executions/{executionId}/config/{id}
240
+ """
241
+ relative_url = f"{api_url}/{realm}/authentication/executions/{execution_id}/config/{id}"
242
+ response = self.api_client.get_request(relative_url=relative_url, is_iam=True)
243
+ return AuthenticatorConfigRepresentation.from_dict(response.json())
244
+
245
+ def post_execution_lower_priority(self, realm: str, execution_id: str) -> bool:
246
+ """
247
+ Lower execution’s priority
248
+
249
+ Args:
250
+ realm (str): [required]
251
+ execution_id (str): [required]
252
+
253
+ Returns:
254
+ bool
255
+
256
+ URL:
257
+ Relative path: /{realm}/authentication/executions/{executionId}/lower-priority
258
+ """
259
+ relative_url = f"{api_url}/{realm}/authentication/executions/{execution_id}/lower_priority"
260
+ response = self.api_client.post_request(relative_url=relative_url, is_iam=True)
261
+ return response.status_code == 201
262
+
263
+ def post_execution_raise_priority(self, realm: str, execution_id: str) -> bool:
264
+ """
265
+ Raise execution’s priority
266
+
267
+ Args:
268
+ realm (str): [required]
269
+ execution_id (str): [required]
270
+
271
+ Returns:
272
+ bool
273
+
274
+ URL:
275
+ Relative path: /{realm}/authentication/executions/{executionId}/raise-priority
276
+ """
277
+ relative_url = f"{api_url}/{realm}/authentication/executions/{execution_id}/raise_priority"
278
+ response = self.api_client.post_request(relative_url=relative_url, is_iam=True)
279
+ return response.status_code == 201
280
+
281
+ def get_flows(self, realm: str) -> List[AuthenticationFlowRepresentation]:
282
+ """
283
+ Get authentication flows Returns a stream of authentication flows.
284
+
285
+ Args:
286
+ realm (str): [required]
287
+
288
+ Returns:
289
+ List[AuthenticationFlowRepresentation]
290
+
291
+ URL:
292
+ Relative path: /{realm}/authentication/flows
293
+ """
294
+ relative_url = f"{api_url}/{realm}/authentication/flows"
295
+ response = self.api_client.get_request(relative_url=relative_url, is_iam=True)
296
+ return [AuthenticationFlowRepresentation.from_dict(item) for item in response.json()]
297
+
298
+ def post_flows(self, realm: str, authentication_flow_representation: AuthenticationFlowRepresentation) -> bool:
299
+ """
300
+ Create a new authentication flow
301
+
302
+ Args:
303
+ realm (str): [required]
304
+ authentication_flow_representation (AuthenticationFlowRepresentation): Request body data [required]
305
+
306
+ Returns:
307
+ bool
308
+
309
+ URL:
310
+ Relative path: /{realm}/authentication/flows
311
+ """
312
+ relative_url = f"{api_url}/{realm}/authentication/flows"
313
+ response = self.api_client.post_request(relative_url=relative_url,
314
+ json=authentication_flow_representation.to_dict(), is_iam=True)
315
+ return response.status_code == 200
316
+
317
+ def post_copy(self, realm: str, flow_alias: str) -> bool:
318
+ """
319
+ Copy existing authentication flow under a new name The new name is given as 'newName' attribute of the passed JSON object
320
+
321
+ Args:
322
+ realm (str): [required]
323
+ flow_alias (str): [required]
324
+
325
+ Returns:
326
+ bool
327
+
328
+ URL:
329
+ Relative path: /{realm}/authentication/flows/{flowAlias}/copy
330
+ """
331
+ relative_url = f"{api_url}/{realm}/authentication/flows/{flow_alias}/copy"
332
+ response = self.api_client.post_request(relative_url=relative_url, is_iam=True)
333
+ return response.status_code == 200
334
+
335
+ def get_executions(self, realm: str, flow_alias: str) -> bool:
336
+ """
337
+ Get authentication executions for a flow
338
+
339
+ Args:
340
+ realm (str): [required]
341
+ flow_alias (str): [required]
342
+
343
+ Returns:
344
+ bool
345
+
346
+ URL:
347
+ Relative path: /{realm}/authentication/flows/{flowAlias}/executions
348
+ """
349
+ relative_url = f"{api_url}/{realm}/authentication/flows/{flow_alias}/executions"
350
+ response = self.api_client.get_request(relative_url=relative_url, is_iam=True)
351
+ return response.status_code == 200
352
+
353
+ def put_executions(self, realm: str, flow_alias: str,
354
+ authentication_execution_info_representation: AuthenticationExecutionInfoRepresentation) -> bool:
355
+ """
356
+ Update authentication executions of a Flow
357
+
358
+ Args:
359
+ realm (str): [required]
360
+ flow_alias (str): [required]
361
+ authentication_execution_info_representation (AuthenticationExecutionInfoRepresentation): Request body data [required]
362
+
363
+ Returns:
364
+ bool
365
+
366
+ URL:
367
+ Relative path: /{realm}/authentication/flows/{flowAlias}/executions
368
+ """
369
+ relative_url = f"{api_url}/{realm}/authentication/flows/{flow_alias}/executions"
370
+ response = self.api_client.put_request(relative_url=relative_url,
371
+ json=authentication_execution_info_representation.to_dict(), is_iam=True)
372
+ return response.status_code == 200
373
+
374
+ def post_execution(self, realm: str, flow_alias: str) -> bool:
375
+ """
376
+ Add new authentication execution to a flow
377
+
378
+ Args:
379
+ realm (str): [required]
380
+ flow_alias (str): [required]
381
+
382
+ Returns:
383
+ bool
384
+
385
+ URL:
386
+ Relative path: /{realm}/authentication/flows/{flowAlias}/executions/execution
387
+ """
388
+ relative_url = f"{api_url}/{realm}/authentication/flows/{flow_alias}/executions/execution"
389
+ response = self.api_client.post_request(relative_url=relative_url, is_iam=True)
390
+ return response.status_code == 200
391
+
392
+ def post_flow(self, realm: str, flow_alias: str) -> bool:
393
+ """
394
+ Add new flow with new execution to existing flow
395
+
396
+ Args:
397
+ realm (str): [required]
398
+ flow_alias (str): [required]
399
+
400
+ Returns:
401
+ bool
402
+
403
+ URL:
404
+ Relative path: /{realm}/authentication/flows/{flowAlias}/executions/flow
405
+ """
406
+ relative_url = f"{api_url}/{realm}/authentication/flows/{flow_alias}/executions/flow"
407
+ response = self.api_client.post_request(relative_url=relative_url, is_iam=True)
408
+ return response.status_code == 200
409
+
410
+ def get_flow(self, realm: str, id: str) -> AuthenticationFlowRepresentation:
411
+ """
412
+ Get authentication flow for id
413
+
414
+ Args:
415
+ realm (str): [required]
416
+ id (str): [required]
417
+
418
+ Returns:
419
+ AuthenticationFlowRepresentation
420
+
421
+ URL:
422
+ Relative path: /{realm}/authentication/flows/{id}
423
+ """
424
+ relative_url = f"{api_url}/{realm}/authentication/flows/{id}"
425
+ response = self.api_client.get_request(relative_url=relative_url, is_iam=True)
426
+ return AuthenticationFlowRepresentation.from_dict(response.json())
427
+
428
+ def put_flow(self, realm: str, id: str,
429
+ authentication_flow_representation: AuthenticationFlowRepresentation) -> bool:
430
+ """
431
+ Update an authentication flow
432
+
433
+ Args:
434
+ realm (str): [required]
435
+ id (str): [required]
436
+ authentication_flow_representation (AuthenticationFlowRepresentation): Request body data [required]
437
+
438
+ Returns:
439
+ bool
440
+
441
+ URL:
442
+ Relative path: /{realm}/authentication/flows/{id}
443
+ """
444
+ relative_url = f"{api_url}/{realm}/authentication/flows/{id}"
445
+ response = self.api_client.put_request(relative_url=relative_url,
446
+ json=authentication_flow_representation.to_dict(), is_iam=True)
447
+ return response.status_code == 200
448
+
449
+ def delete_flow(self, realm: str, id: str) -> bool:
450
+ """
451
+ Delete an authentication flow
452
+
453
+ Args:
454
+ realm (str): [required]
455
+ id (str): [required]
456
+
457
+ Returns:
458
+ bool
459
+
460
+ URL:
461
+ Relative path: /{realm}/authentication/flows/{id}
462
+ """
463
+ relative_url = f"{api_url}/{realm}/authentication/flows/{id}"
464
+ response = self.api_client.delete_request(relative_url=relative_url, is_iam=True)
465
+ return response.status_code == 204
466
+
467
+ def get_form_action_providers(self, realm: str) -> List[Dict[str, Any]]:
468
+ """
469
+ Get form action providers Returns a stream of form action providers.
470
+
471
+ Args:
472
+ realm (str): [required]
473
+
474
+ Returns:
475
+ List[Dict[str, Any]]
476
+
477
+ URL:
478
+ Relative path: /{realm}/authentication/form-action-providers
479
+ """
480
+ relative_url = f"{api_url}/{realm}/authentication/form_action_providers"
481
+ response = self.api_client.get_request(relative_url=relative_url, is_iam=True)
482
+ return response.json()
483
+
484
+ def get_form_providers(self, realm: str) -> List[Dict[str, Any]]:
485
+ """
486
+ Get form providers Returns a stream of form providers.
487
+
488
+ Args:
489
+ realm (str): [required]
490
+
491
+ Returns:
492
+ List[Dict[str, Any]]
493
+
494
+ URL:
495
+ Relative path: /{realm}/authentication/form-providers
496
+ """
497
+ relative_url = f"{api_url}/{realm}/authentication/form_providers"
498
+ response = self.api_client.get_request(relative_url=relative_url, is_iam=True)
499
+ return response.json()
500
+
501
+ def get_per_client_config_description(self, realm: str) -> Dict[str, Any]:
502
+ """
503
+ Get configuration descriptions for all clients
504
+
505
+ Args:
506
+ realm (str): [required]
507
+
508
+ Returns:
509
+ Dict[str, Any]
510
+
511
+ URL:
512
+ Relative path: /{realm}/authentication/per-client-config-description
513
+ """
514
+ relative_url = f"{api_url}/{realm}/authentication/per_client_config_description"
515
+ response = self.api_client.get_request(relative_url=relative_url, is_iam=True)
516
+ return response.json()
517
+
518
+ def post_register_required_action(self, realm: str) -> bool:
519
+ """
520
+ Register a new required actions
521
+
522
+ Args:
523
+ realm (str): [required]
524
+
525
+ Returns:
526
+ bool
527
+
528
+ URL:
529
+ Relative path: /{realm}/authentication/register-required-action
530
+ """
531
+ relative_url = f"{api_url}/{realm}/authentication/register_required_action"
532
+ response = self.api_client.post_request(relative_url=relative_url, is_iam=True)
533
+ return response.status_code == 201
534
+
535
+ def get_required_actions(self, realm: str) -> List[RequiredActionProviderRepresentation]:
536
+ """
537
+ Get required actions Returns a stream of required actions.
538
+
539
+ Args:
540
+ realm (str): [required]
541
+
542
+ Returns:
543
+ List[RequiredActionProviderRepresentation]
544
+
545
+ URL:
546
+ Relative path: /{realm}/authentication/required-actions
547
+ """
548
+ relative_url = f"{api_url}/{realm}/authentication/required_actions"
549
+ response = self.api_client.get_request(relative_url=relative_url, is_iam=True)
550
+ return [RequiredActionProviderRepresentation.from_dict(item) for item in response.json()]
551
+
552
+ def get_required_action(self, realm: str, alias: str) -> RequiredActionProviderRepresentation:
553
+ """
554
+ Get required action for alias
555
+
556
+ Args:
557
+ realm (str): [required]
558
+ alias (str): [required]
559
+
560
+ Returns:
561
+ RequiredActionProviderRepresentation
562
+
563
+ URL:
564
+ Relative path: /{realm}/authentication/required-actions/{alias}
565
+ """
566
+ relative_url = f"{api_url}/{realm}/authentication/required_actions/{alias}"
567
+ response = self.api_client.get_request(relative_url=relative_url, is_iam=True)
568
+ return RequiredActionProviderRepresentation.from_dict(response.json())
569
+
570
+ def put_required_action(self, realm: str, alias: str,
571
+ required_action_provider_representation: RequiredActionProviderRepresentation) -> bool:
572
+ """
573
+ Update required action
574
+
575
+ Args:
576
+ realm (str): [required]
577
+ alias (str): [required]
578
+ required_action_provider_representation (RequiredActionProviderRepresentation): Request body data [required]
579
+
580
+ Returns:
581
+ bool
582
+
583
+ URL:
584
+ Relative path: /{realm}/authentication/required-actions/{alias}
585
+ """
586
+ relative_url = f"{api_url}/{realm}/authentication/required_actions/{alias}"
587
+ response = self.api_client.put_request(relative_url=relative_url,
588
+ json=required_action_provider_representation.to_dict(), is_iam=True)
589
+ return response.status_code == 204
590
+
591
+ def delete_required_action(self, realm: str, alias: str) -> bool:
592
+ """
593
+ Delete required action
594
+
595
+ Args:
596
+ realm (str): [required]
597
+ alias (str): [required]
598
+
599
+ Returns:
600
+ bool
601
+
602
+ URL:
603
+ Relative path: /{realm}/authentication/required-actions/{alias}
604
+ """
605
+ relative_url = f"{api_url}/{realm}/authentication/required_actions/{alias}"
606
+ response = self.api_client.delete_request(relative_url=relative_url, is_iam=True)
607
+ return response.status_code == 204
608
+
609
+ def post_required_action_lower_priority(self, realm: str, alias: str) -> bool:
610
+ """
611
+ Lower required action’s priority
612
+
613
+ Args:
614
+ realm (str): [required]
615
+ alias (str): [required]
616
+
617
+ Returns:
618
+ bool
619
+
620
+ URL:
621
+ Relative path: /{realm}/authentication/required-actions/{alias}/lower-priority
622
+ """
623
+ relative_url = f"{api_url}/{realm}/authentication/required_actions/{alias}/lower_priority"
624
+ response = self.api_client.post_request(relative_url=relative_url, is_iam=True)
625
+ return response.status_code == 201
626
+
627
+ def post_required_action_raise_priority(self, realm: str, alias: str) -> bool:
628
+ """
629
+ Raise required action’s priority
630
+
631
+ Args:
632
+ realm (str): [required]
633
+ alias (str): [required]
634
+
635
+ Returns:
636
+ bool
637
+
638
+ URL:
639
+ Relative path: /{realm}/authentication/required-actions/{alias}/raise-priority
640
+ """
641
+ relative_url = f"{api_url}/{realm}/authentication/required_actions/{alias}/raise_priority"
642
+ response = self.api_client.post_request(relative_url=relative_url, is_iam=True)
643
+ return response.status_code == 201
644
+
645
+ def get_unregistered_required_actions(self, realm: str) -> List[str]:
646
+ """
647
+ Get unregistered required actions Returns a stream of unregistered required actions.
648
+
649
+ Args:
650
+ realm (str): [required]
651
+
652
+ Returns:
653
+ List[str]
654
+
655
+ URL:
656
+ Relative path: /{realm}/authentication/unregistered-required-actions
657
+ """
658
+ relative_url = f"{api_url}/{realm}/authentication/unregistered_required_actions"
659
+ response = self.api_client.get_request(relative_url=relative_url, is_iam=True)
660
+ return response.json()