core.identity ============= .. py:module:: core.identity Classes ------- .. autoapisummary:: core.identity.OneGovIdentity Module Contents --------------- .. py:class:: OneGovIdentity(userid: str, *, uid: str, groupids: frozenset[str], role: str, application_id: str) Bases: :py:obj:`morepath.Identity` Claimed identity of a user. Note that this identity is just a claim; to authenticate the user and authorize them you need to implement Morepath permission directives. .. py:attribute:: userid :type: str The user ID of the identity. May be ``None`` if no particular identity was established. .. py:attribute:: uid :type: str .. py:attribute:: groupids :type: frozenset[str] .. py:attribute:: role :type: str .. py:attribute:: application_id :type: str .. py:attribute:: __getattr__ :value: None