gws.plugin.account.account_action

User account action.

Source code: gws.plugin.account.account_action

Module Contents

class gws.plugin.account.account_action.Config

Bases: gws.base.action.Config

User Account action. (added in 8.1)

class gws.plugin.account.account_action.MfaProps(*args, **kwargs)

Bases: gws.Data

Basic data object.

This object can be instantiated by passing one or or dict arguments and/or keyword args. All dicts keys and keywords become attributes of the object.

Accessing an undefined attribute returns None and no error is raised, unless the attribute name starts with an underscore.

index: int
qrCode: str
title: str
class gws.plugin.account.account_action.Object

Bases: gws.base.action.Object

h: gws.plugin.account.helper.Object
configure()
get_account_by_tc(tc, category, expected_status)
mfa_props(account: dict, mfa_secret)
onboarding_save_mfa(req: gws.WebRequester, p: OnboardingSaveMfaRequest) OnboardingSaveMfaResponse
onboarding_save_password(req: gws.WebRequester, p: OnboardingSavePasswordRequest) OnboardingSavePasswordResponse
onboarding_start(req: gws.WebRequester, p: OnboardingStartRequest) OnboardingStartResponse
class gws.plugin.account.account_action.OnboardingSaveMfaRequest(*args, **kwargs)

Bases: gws.Request

Command request.

mfaIndex: int | None
tc: str
class gws.plugin.account.account_action.OnboardingSaveMfaResponse(*args, **kwargs)

Bases: gws.Response

Command response.

complete: bool
completionUrl: str
class gws.plugin.account.account_action.OnboardingSavePasswordRequest(*args, **kwargs)

Bases: gws.Request

Command request.

email: str
password1: str
password2: str
tc: str
class gws.plugin.account.account_action.OnboardingSavePasswordResponse(*args, **kwargs)

Bases: gws.Response

Command response.

complete: bool
completionUrl: str
mfaList: list[MfaProps]
ok: bool
tc: str
class gws.plugin.account.account_action.OnboardingStartRequest(*args, **kwargs)

Bases: gws.Request

Command request.

tc: str
class gws.plugin.account.account_action.OnboardingStartResponse(*args, **kwargs)

Bases: gws.Response

Command response.

tc: str
class gws.plugin.account.account_action.Props

Bases: gws.base.action.Props