gws.plugin.account.core

Source code: gws.plugin.account.core

Module Contents

class gws.plugin.account.core.Category
onboarding = 'onboarding'
resetPassword = 'resetPassword'
class gws.plugin.account.core.Columns
email = 'email'
mfaSecret = 'mfasecret'
mfaUid = 'mfauid'
password = 'password'
status = 'status'
tc = 'tc'
tcCategory = 'tccategory'
tcTime = 'tctime'
username = 'username'
class gws.plugin.account.core.Status

Bases: gws.Enum

Enumeration type.

Despite being declared as extending Enum (for IDE support), this class is actually just a simple object and intended to be used as a collection of attributes. It doesn’t provide any Enum-specific utilities.

The rationale behind this is that we need Enum members (e.g. Color.RED) to be scalars, and not complex objects as in the standard Enum.

active = 10
new = 0
onboarding = 1