Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1 KB

File metadata and controls

31 lines (22 loc) · 1 KB

PolicyTestRequest

Test policy execution for a user with context

Properties

Name Type Description Notes
user int
context Dict[str, object] [optional]

Example

from authentik_client.models.policy_test_request import PolicyTestRequest

# TODO update the JSON string below
json = "{}"
# create an instance of PolicyTestRequest from a JSON string
policy_test_request_instance = PolicyTestRequest.from_json(json)
# print the JSON string representation of the object
print(PolicyTestRequest.to_json())

# convert the object into a dict
policy_test_request_dict = policy_test_request_instance.to_dict()
# create an instance of PolicyTestRequest from a dict
policy_test_request_from_dict = PolicyTestRequest.from_dict(policy_test_request_dict)

[Back to Model list] [Back to API list] [Back to README]