geofront.identity — Member identification

class geofront.identity.Identity(team_type: type, identifier: collections.abc.Hashable, access_token=None)

Hashable value object which purposes to identify the owner of each public key in the store.

Parameters:
  • team_type (type) – a sbclass of Team
  • identifier (collections.abc.Hashable) – any hashable identifier for the owner. it’s interpreted by team_type
  • access_token – an optional access token which may used by key store
access_token = None

An optional access token which may be used by key store.

Note

The attribute is ignored by ==, and = operators, and hash() function.

identifier = None

(collections.abc.Hashable) Any hashable identifier for the owner. It’s interpreted by team_type.

team_type = None

(type) A subclass of Team.