{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_passlib_totp_py", "label": "totp.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1"}, {"id": "totp_get_group_size", "label": "_get_group_size()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L89"}, {"id": "totp_group_string", "label": "group_string()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L108"}, {"id": "totp_decode_bytes", "label": "_decode_bytes()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L121"}, {"id": "totp_appwallet", "label": "AppWallet", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L152"}, {"id": "object", "label": "object", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "totp_appwallet_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L262"}, {"id": "totp_appwallet_parse_secrets", "label": "._parse_secrets()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L303"}, {"id": "totp_appwallet_parse_secret_pair", "label": "._parse_secret_pair()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L346"}, {"id": "totp_has_secrets", "label": "has_secrets()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L366"}, {"id": "totp_appwallet_get_secret", "label": ".get_secret()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L370"}, {"id": "totp_cipher_aes_key", "label": "_cipher_aes_key()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L388"}, {"id": "totp_appwallet_encrypt_key", "label": ".encrypt_key()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L425"}, {"id": "totp_appwallet_decrypt_key", "label": ".decrypt_key()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L458"}, {"id": "totp_totp", "label": "TOTP", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L517"}, {"id": "totp_using", "label": "using()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L659"}, {"id": "totp_new", "label": "new()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L764"}, {"id": "totp_totp_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L770"}, {"id": "totp_check_serial", "label": "_check_serial()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L848"}, {"id": "totp_check_label", "label": "_check_label()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L858"}, {"id": "totp_check_issuer", "label": "_check_issuer()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L866"}, {"id": "totp_key", "label": "key()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L881"}, {"id": "totp_encrypted_key", "label": "encrypted_key()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L901"}, {"id": "totp_hex_key", "label": "hex_key()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L933"}, {"id": "totp_base32_key", "label": "base32_key()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L940"}, {"id": "totp_totp_pretty_key", "label": ".pretty_key()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L946"}, {"id": "totp_normalize_time", "label": "normalize_time()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L985"}, {"id": "totp_totp_time_to_counter", "label": "._time_to_counter()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1012"}, {"id": "totp_totp_counter_to_time", "label": "._counter_to_time()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1018"}, {"id": "totp_normalize_token", "label": "normalize_token()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1025"}, {"id": "totp_totp_generate", "label": ".generate()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1070"}, {"id": "totp_verify", "label": "verify()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1140"}, {"id": "totp_totp_match", "label": ".match()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1163"}, {"id": "totp_totp_find_match", "label": "._find_match()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1261"}, {"id": "totp_from_source", "label": "from_source()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1318"}, {"id": "totp_from_uri", "label": "from_uri()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1358"}, {"id": "totp_check_otp_type", "label": "_check_otp_type()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1381"}, {"id": "totp_from_parsed_uri", "label": "_from_parsed_uri()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1393"}, {"id": "totp_adapt_uri_params", "label": "_adapt_uri_params()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1442"}, {"id": "totp_uri_parse_error", "label": "_uri_parse_error()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1467"}, {"id": "totp_uri_parse_int", "label": "_uri_parse_int()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1472"}, {"id": "totp_totp_to_uri", "label": ".to_uri()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1482"}, {"id": "totp_totp_to_uri_params", "label": "._to_uri_params()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1559"}, {"id": "totp_from_json", "label": "from_json()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1575"}, {"id": "totp_totp_to_json", "label": ".to_json()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1597"}, {"id": "totp_from_dict", "label": "from_dict()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1614"}, {"id": "totp_adapt_dict_kwds", "label": "_adapt_dict_kwds()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1638"}, {"id": "totp_dict_parse_error", "label": "_dict_parse_error()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1669"}, {"id": "totp_totp_to_dict", "label": ".to_dict()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1673"}, {"id": "totp_totptoken", "label": "TotpToken", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1726"}, {"id": "sequencemixin", "label": "SequenceMixin", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "totp_totptoken_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1747"}, {"id": "totp_start_time", "label": "start_time()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1757"}, {"id": "totp_expire_time", "label": "expire_time()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1762"}, {"id": "totp_remaining", "label": "remaining()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1767"}, {"id": "totp_valid", "label": "valid()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1772"}, {"id": "totp_totptoken_as_tuple", "label": "._as_tuple()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1776"}, {"id": "totp_totptoken_repr", "label": ".__repr__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1779"}, {"id": "totp_totpmatch", "label": "TotpMatch", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1785"}, {"id": "totp_totpmatch_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1830"}, {"id": "totp_expected_counter", "label": "expected_counter()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1841"}, {"id": "totp_skipped", "label": "skipped()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1848"}, {"id": "totp_cache_seconds", "label": "cache_seconds()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1866"}, {"id": "totp_cache_time", "label": "cache_time()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1876"}, {"id": "totp_totpmatch_as_tuple", "label": "._as_tuple()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1882"}, {"id": "totp_totpmatch_repr", "label": ".__repr__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1885"}, {"id": "totp_generate_secret", "label": "generate_secret()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1893"}, {"id": "totp_rationale_1", "label": "passlib.totp -- TOTP / RFC6238 / Google Authenticator utilities.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1"}, {"id": "totp_rationale_90", "label": "helper for group_string() -- calculates optimal size of group for given stri", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L90"}, {"id": "totp_rationale_109", "label": "reformat string into (roughly) evenly-sized groups, separated by **sep**. us", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L109"}, {"id": "totp_rationale_122", "label": "internal TOTP() helper -- decodes key according to specified format.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L122"}, {"id": "totp_rationale_153", "label": "This class stores application-wide secrets that can be used to encrypt & dec", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L153"}, {"id": "totp_rationale_304", "label": "parse 'secrets' parameter :returns: Dict[tag:str, secret:by", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L304"}, {"id": "totp_rationale_367", "label": "whether at least one application secret is present", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L367"}, {"id": "totp_rationale_371", "label": "resolve a secret tag to the secret (as bytes). throws a KeyError if not", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L371"}, {"id": "totp_rationale_389", "label": "Internal helper for :meth:`encrypt_key` -- handles lowlevel encryption/d", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L389"}, {"id": "totp_rationale_426", "label": "Helper used to encrypt TOTP keys for storage. :param key: T", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L426"}, {"id": "totp_rationale_459", "label": "Helper used to decrypt TOTP keys from storage format. Consults configure", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L459"}, {"id": "totp_rationale_518", "label": "Helper for generating and verifying TOTP codes. Given a secret key and set", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L518"}, {"id": "totp_rationale_661", "label": "Dynamically create subtype of :class:`!TOTP` class which has the specifi", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L661"}, {"id": "totp_rationale_765", "label": "convenience alias for creating new TOTP key, same as ``TOTP(new=True)``", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L765"}, {"id": "totp_rationale_849", "label": "check that serial value (e.g. 'counter') is non-negative integer", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L849"}, {"id": "totp_rationale_859", "label": "check that label doesn't contain chars forbidden by KeyURI spec", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L859"}, {"id": "totp_rationale_867", "label": "check that issuer doesn't contain chars forbidden by KeyURI spec", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L867"}, {"id": "totp_rationale_882", "label": "secret key as raw bytes", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L882"}, {"id": "totp_rationale_902", "label": "secret key, encrypted using application secret. this match the output of", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L902"}, {"id": "totp_rationale_934", "label": "secret key encoded as hexadecimal string", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L934"}, {"id": "totp_rationale_941", "label": "secret key encoded as base32 string", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L941"}, {"id": "totp_rationale_947", "label": "pretty-print the secret key. This is mainly useful for situations where", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L947"}, {"id": "totp_rationale_986", "label": "Normalize time value to unix epoch seconds. :arg time: Can", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L986"}, {"id": "totp_rationale_1013", "label": "convert timestamp to HOTP counter using :attr:`period`.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1013"}, {"id": "totp_rationale_1019", "label": "convert HOTP counter to timestamp using :attr:`period`.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1019"}, {"id": "totp_rationale_1026", "label": "Normalize OTP token representation: strips whitespace, converts integers", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1026"}, {"id": "totp_rationale_1071", "label": "Generate token for specified time (uses current time if none specified).", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1071"}, {"id": "totp_rationale_1106", "label": "base implementation of HOTP token generation algorithm. :arg counter: H", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1106"}, {"id": "totp_rationale_1141", "label": "r\"\"\" Convenience wrapper around :meth:`TOTP.from_source` and :meth:`TOTP", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1141"}, {"id": "totp_rationale_1164", "label": "Match TOTP token against specified timestamp. Searches within a window b", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1164"}, {"id": "totp_rationale_1262", "label": "helper for verify() -- returns counter value within specified range that", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1262"}, {"id": "totp_rationale_1319", "label": "Load / create a TOTP object from a serialized source. This acts as a wra", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1319"}, {"id": "totp_rationale_1359", "label": "create an OTP instance from a URI (such as returned by :meth:`to_uri`).", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1359"}, {"id": "totp_rationale_1382", "label": "validate otp URI type is supported. returns True or raises appropriate e", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1382"}, {"id": "totp_rationale_1394", "label": "internal from_uri() helper -- handles parsing a validated TOTP URI", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1394"}, {"id": "totp_rationale_1445", "label": "from_uri() helper -- converts uri params into constructor args.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1445"}, {"id": "totp_rationale_1468", "label": "uri parsing helper -- creates preformatted error message", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1468"}, {"id": "totp_rationale_1473", "label": "uri parsing helper -- int() wrapper", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1473"}, {"id": "totp_rationale_1483", "label": "Serialize key and configuration into a URI, per Google Auth's `KeyUriFor", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1483"}, {"id": "totp_rationale_1560", "label": "return list of (key, param) entries for URI", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1560"}, {"id": "totp_rationale_1576", "label": "Load / create an OTP object from a serialized json string (as generated", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1576"}, {"id": "totp_rationale_1598", "label": "Serialize configuration & internal state to a json string, mainly useful", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1598"}, {"id": "totp_rationale_1615", "label": "Load / create a TOTP object from a dictionary (as generated by :meth:`to", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1615"}, {"id": "totp_rationale_1639", "label": "Internal helper for .from_json() -- Adapts serialized json dict into con", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1639"}, {"id": "totp_rationale_1670", "label": "dict parsing helper -- creates preformatted error message", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1670"}, {"id": "totp_rationale_1674", "label": "Serialize configuration & internal state to a dict, mainly useful for pe", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1674"}, {"id": "totp_rationale_1727", "label": "Object returned by :meth:`TOTP.generate`. It can be treated as a sequence of", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1727"}, {"id": "totp_rationale_1748", "label": ".. warning:: the constructor signature is an internal detail, and is", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1748"}, {"id": "totp_rationale_1758", "label": "Timestamp marking beginning of period when token is valid", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1758"}, {"id": "totp_rationale_1763", "label": "Timestamp marking end of period when token is valid", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1763"}, {"id": "totp_rationale_1768", "label": "number of (float) seconds before token expires", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1768"}, {"id": "totp_rationale_1773", "label": "whether token is still valid", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1773"}, {"id": "totp_rationale_1786", "label": "Object returned by :meth:`TOTP.match` and :meth:`TOTP.verify` on a successful ma", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1786"}, {"id": "totp_rationale_1831", "label": ".. warning:: the constructor signature is an internal detail, and is", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1831"}, {"id": "totp_rationale_1842", "label": "Counter value expected for timestamp.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1842"}, {"id": "totp_rationale_1849", "label": "How many steps were skipped between expected and actual matched counter", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1849"}, {"id": "totp_rationale_1862", "label": "Timestamp marking end of period when token is valid", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1862"}, {"id": "totp_rationale_1867", "label": "Number of seconds counter should be cached before it's guaranteed to hav", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1867"}, {"id": "totp_rationale_1877", "label": "Timestamp marking when counter has passed outside of verification window.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1877"}, {"id": "totp_rationale_1894", "label": "generate a random string suitable for use as an :class:`AppWallet` applicati", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1894"}, {"id": "totp_rationale_63", "label": "# HACK: python < 2.7.4's urlparse() won't parse query strings unless the url sch", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L63"}, {"id": "totp_rationale_265", "label": "# TODO: allow a lot more things to be customized from here,", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L265"}, {"id": "totp_rationale_415", "label": "# NOTE: this requires 2 sha256 blocks to be calculated.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L415"}, {"id": "totp_rationale_721", "label": "# NOTE: this creates *subclass* instance,", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L721"}, {"id": "totp_rationale_803", "label": "# NOTE: this handles decrypting & setting '.key'", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L803"}, {"id": "totp_rationale_1006", "label": "# NOTE: utctimetuple() assumes naive datetimes are in UTC", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1006"}, {"id": "totp_rationale_1007", "label": "# NOTE: we explicitly *don't* want microseconds.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1007"}, {"id": "totp_rationale_1128", "label": "# NOTE: the 10'th digit is not as secure, as it can only take on values 0-2, not", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/passlib/totp.py", "source_location": "L1128"}, {"id": "totp_rationale_1255", "label": "# NOTE: By returning match tied to