Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.53 KB

File metadata and controls

32 lines (23 loc) · 1.53 KB

AuthDynamicRoleAssignment

AuthDynamicRoleAssignment extracts roles from auth provider claims using a JSON path.

Properties

Name Type Description Notes
type str The type of role assignment.
claim_path List[str] The JSON path to the role/group claim (e.g., ["groups"], ["roles"], ["realm_access", "roles"]).
separator str Separator for org:role format (default ':'). Roles containing the separator are split into organization-scoped roles. Roles without separator are global and apply to all organizations. [optional] [default to ':']

Example

from flightctl.models.auth_dynamic_role_assignment import AuthDynamicRoleAssignment

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

# convert the object into a dict
auth_dynamic_role_assignment_dict = auth_dynamic_role_assignment_instance.to_dict()
# create an instance of AuthDynamicRoleAssignment from a dict
auth_dynamic_role_assignment_from_dict = AuthDynamicRoleAssignment.from_dict(auth_dynamic_role_assignment_dict)

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