Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(32)  |  Call(23)  |  Derive(0)  |  Import(9)

src/d/j/django-otp-0.2.7/django_otp/plugins/otp_totp/models.py   django-otp(Download)
 
from django_otp.models import Device
from django_otp.oath import TOTP
from django_otp.util import random_hex, hex_validator
 
            key = self.bin_key
 
            totp = TOTP(key, self.step, self.t0, self.digits)
            totp.time = time.time()