File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -870,7 +870,7 @@ def set_user_password(
870870 expected_codes = [HTTP_NO_CONTENT ],
871871 )
872872
873- def get_credentials (self , user_id : str ) -> dict :
873+ def get_credentials (self , user_id : str ) -> list :
874874 """
875875 Get user credentials.
876876
@@ -882,7 +882,7 @@ def get_credentials(self, user_id: str) -> dict:
882882 :param: user_id: user id
883883 :type user_id: str
884884 :returns: Keycloak server response (CredentialRepresentation)
885- :rtype: dict
885+ :rtype: list
886886 """
887887 params_path = {"realm-name" : self .connection .realm_name , "id" : user_id }
888888 data_raw = self .connection .raw_get (
@@ -6104,7 +6104,7 @@ async def a_set_user_password(
61046104 expected_codes = [HTTP_NO_CONTENT ],
61056105 )
61066106
6107- async def a_get_credentials (self , user_id : str ) -> dict :
6107+ async def a_get_credentials (self , user_id : str ) -> list :
61086108 """
61096109 Get user credentials asynchronously.
61106110
@@ -6116,7 +6116,7 @@ async def a_get_credentials(self, user_id: str) -> dict:
61166116 :param: user_id: user id
61176117 :type user_id: str
61186118 :returns: Keycloak server response (CredentialRepresentation)
6119- :rtype: dict
6119+ :rtype: list
61206120 """
61216121 params_path = {"realm-name" : self .connection .realm_name , "id" : user_id }
61226122 data_raw = await self .connection .a_raw_get (
You can’t perform that action at this time.
0 commit comments