Skip to content

Latest commit

 

History

History
68 lines (53 loc) · 1.65 KB

class-reference.rst

File metadata and controls

68 lines (53 loc) · 1.65 KB

Class Reference

Admin Site

two_factor.admin.AdminSiteOTPRequired

two_factor.admin.AdminSiteOTPRequiredMixin

Decorators

django_otp.decorators

two_factor.views.utils

Models

two_factor.plugins.phonenumber.models.PhoneDevice

django_otp.plugins.otp_static.models.StaticDevice

django_otp.plugins.otp_static.models.StaticToken

django_otp.plugins.otp_totp.models.TOTPDevice

Middleware

django_otp.middleware.OTPMiddleware

Signals

two_factor.signals

user_verified

Sent when a user is verified against a OTP device. Provides the following arguments:

sender

The class sending the signal ('two_factor.views.core').

user

The user that was verified.

device

The OTP device that was used.

request

The HttpRequest in which the user was verified.

Template Tags

two_factor.plugins.phonenumber.templatetags.phonenumber

Views

two_factor.views.LoginView

two_factor.views.SetupView

two_factor.views.SetupCompleteView

two_factor.views.BackupTokensView

two_factor.views.ProfileView

two_factor.views.DisableView

two_factor.plugins.phonenumber.views.PhoneSetupView

two_factor.plugins.phonenumber.views.PhoneDeleteView

View Mixins

two_factor.views.mixins