api: Implement GET /realm/profile_fields endpoint.

This commit is contained in:
Kartik Srivastava 2020-05-26 21:42:45 +05:30 committed by Tim Abbott
parent 16737e4ed3
commit 30fa7c5d2f

View file

@ -907,6 +907,18 @@ class Client:
method='DELETE', method='DELETE',
) )
def get_realm_profile_fields(self) -> Dict[str, Any]:
'''
Example usage:
>>> client.get_realm_profile_fields()
{'result': 'success', 'msg': '', 'custom_fields': [{...}, {...}, {...}, {...}]}
'''
return self.call_endpoint(
url='realm/profile_fields',
method='GET',
)
def get_server_settings(self) -> Dict[str, Any]: def get_server_settings(self) -> Dict[str, Any]:
''' '''
Example usage: Example usage: