Skip to content

Role

Source code in docs_src/capo_identitystore/types/role.py
class Role(TypedDict, closed=True):
    value: NotRequired[
        "capo_identitystore.types.sensitive_string_type.SensitiveStringType"
    ]
    """<p>A string containing a role name. For example, "Researcher."</p>"""
    type: NotRequired[
        "capo_identitystore.types.sensitive_string_type.SensitiveStringType"
    ]
    """<p>A string representing the type of role. For example, "Work."</p>"""
    primary: "capo_identitystore.types.boolean_type.BooleanType"
    """<p>A Boolean value representing whether this is the primary role for the associated resource.</p>"""

primary instance-attribute

primary: BooleanType

A Boolean value representing whether this is the primary role for the associated resource.

type instance-attribute

type: NotRequired[SensitiveStringType]

A string representing the type of role. For example, "Work."

value instance-attribute

value: NotRequired[SensitiveStringType]

A string containing a role name. For example, "Researcher."