geofront.identity — Member identification

class geofront.identity.Identity(team_type: typing.Type[typing.Team], identifier: collections.abc.Hashable, access_token=None) → None

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

Parameters:
  • team_type (Type[Team]) – a sbclass of Team
  • identifier (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

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

team_type = None

(Type[Team]) A subclass of Team.