core.identity

Classes

OneGovIdentity

Claimed identity of a user.

Module Contents

class core.identity.OneGovIdentity(userid: str, *, uid: str, groupids: frozenset[str], role: str, application_id: str)[source]

Bases: 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.

userid: str[source]

The user ID of the identity.

May be None if no particular identity was established.

uid: str[source]
groupids: frozenset[str][source]
role: str[source]
application_id: str[source]
__getattr__ = None[source]