gws.plugin.auth_mfa.email¶
Multi-factor authenticator that sends TOTPs per email.
The user is required to have an email attribute.
User secret is dynamically generated each time new TOTP is created.
Source code: gws.plugin.auth_mfa.email
Package Contents¶
- class gws.plugin.auth_mfa.email.Config¶
Email multi-factor authenticator configuration.
- templates: list[gws.ext.config.template] | None¶
Email templates.
- class gws.plugin.auth_mfa.email.Object¶
- templates: list[gws.Template]¶
- configure()¶
- generate_and_send(mfa: gws.AuthMultiFactorTransaction)¶
- render_template(subject, args, mime=None)¶
- start(user)¶
- verify(mfa, payload)¶