basedpyright 1.25.0 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pyright-langserver.js +1 -1
- package/dist/pyright-langserver.js.map +1 -1
- package/dist/pyright.js +1 -1
- package/dist/pyright.js.map +1 -1
- package/dist/typeshed-fallback/README.md +1 -1
- package/dist/typeshed-fallback/commit.txt +1 -1
- package/dist/typeshed-fallback/stdlib/VERSIONS +1 -0
- package/dist/typeshed-fallback/stdlib/_asyncio.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/_blake2.pyi +12 -12
- package/dist/typeshed-fallback/stdlib/_bz2.pyi +7 -1
- package/dist/typeshed-fallback/stdlib/_collections_abc.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/_contextvars.pyi +5 -3
- package/dist/typeshed-fallback/stdlib/_csv.pyi +4 -4
- package/dist/typeshed-fallback/stdlib/_ctypes.pyi +7 -7
- package/dist/typeshed-fallback/stdlib/_curses.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/_dummy_threading.pyi +19 -127
- package/dist/typeshed-fallback/stdlib/_frozen_importlib.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/_interpqueues.pyi +9 -6
- package/dist/typeshed-fallback/stdlib/_interpreters.pyi +3 -1
- package/dist/typeshed-fallback/stdlib/_io.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/_json.pyi +5 -4
- package/dist/typeshed-fallback/stdlib/_lzma.pyi +16 -5
- package/dist/typeshed-fallback/stdlib/_pickle.pyi +286 -0
- package/dist/typeshed-fallback/stdlib/_sitebuiltins.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/_socket.pyi +3 -1
- package/dist/typeshed-fallback/stdlib/_ssl.pyi +3 -4
- package/dist/typeshed-fallback/stdlib/_thread.pyi +87 -39
- package/dist/typeshed-fallback/stdlib/_tkinter.pyi +35 -20
- package/dist/typeshed-fallback/stdlib/_weakrefset.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/argparse.pyi +27 -20
- package/dist/typeshed-fallback/stdlib/array.pyi +13 -10
- package/dist/typeshed-fallback/stdlib/ast.pyi +24 -7
- package/dist/typeshed-fallback/stdlib/asyncio/__init__.pyi +1300 -0
- package/dist/typeshed-fallback/stdlib/asyncio/base_events.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/asyncio/coroutines.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/events.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/exceptions.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/futures.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/locks.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/proactor_events.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/protocols.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/queues.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/runners.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/selector_events.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/asyncio/streams.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/subprocess.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/taskgroups.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/tasks.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/threads.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/timeouts.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/transports.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/asyncio/unix_events.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/asyncio/windows_events.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/builtins.pyi +21 -15
- package/dist/typeshed-fallback/stdlib/codecs.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/codeop.pyi +5 -1
- package/dist/typeshed-fallback/stdlib/collections/__init__.pyi +3 -1
- package/dist/typeshed-fallback/stdlib/concurrent/futures/process.pyi +12 -2
- package/dist/typeshed-fallback/stdlib/contextlib.pyi +21 -22
- package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +69 -18
- package/dist/typeshed-fallback/stdlib/dataclasses.pyi +11 -3
- package/dist/typeshed-fallback/stdlib/datetime.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/decimal.pyi +0 -1
- package/dist/typeshed-fallback/stdlib/email/charset.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/email/header.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/email/headerregistry.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/fractions.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/gzip.pyi +5 -5
- package/dist/typeshed-fallback/stdlib/http/__init__.pyi +15 -6
- package/dist/typeshed-fallback/stdlib/http/client.pyi +80 -58
- package/dist/typeshed-fallback/stdlib/inspect.pyi +5 -5
- package/dist/typeshed-fallback/stdlib/ipaddress.pyi +5 -3
- package/dist/typeshed-fallback/stdlib/itertools.pyi +12 -12
- package/dist/typeshed-fallback/stdlib/json/scanner.pyi +4 -0
- package/dist/typeshed-fallback/stdlib/lib2to3/pgen2/pgen.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/lib2to3/pytree.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/mmap.pyi +6 -6
- package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +63 -17
- package/dist/typeshed-fallback/stdlib/multiprocessing/pool.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/multiprocessing/reduction.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/multiprocessing/synchronize.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/numbers.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/operator.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/optparse.pyi +89 -32
- package/dist/typeshed-fallback/stdlib/os/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/parser.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/pickle.pyi +51 -266
- package/dist/typeshed-fallback/stdlib/pickletools.pyi +8 -1
- package/dist/typeshed-fallback/stdlib/plistlib.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/sched.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/select.pyi +19 -13
- package/dist/typeshed-fallback/stdlib/selectors.pyi +5 -3
- package/dist/typeshed-fallback/stdlib/signal.pyi +47 -47
- package/dist/typeshed-fallback/stdlib/socket.pyi +8 -6
- package/dist/typeshed-fallback/stdlib/sqlite3/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/ssl.pyi +4 -0
- package/dist/typeshed-fallback/stdlib/sys/__init__.pyi +9 -3
- package/dist/typeshed-fallback/stdlib/tarfile.pyi +24 -10
- package/dist/typeshed-fallback/stdlib/telnetlib.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/threading.pyi +6 -53
- package/dist/typeshed-fallback/stdlib/tkinter/__init__.pyi +193 -3
- package/dist/typeshed-fallback/stdlib/tkinter/filedialog.pyi +9 -9
- package/dist/typeshed-fallback/stdlib/tkinter/font.pyi +5 -4
- package/dist/typeshed-fallback/stdlib/token.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/tokenize.pyi +3 -4
- package/dist/typeshed-fallback/stdlib/traceback.pyi +17 -4
- package/dist/typeshed-fallback/stdlib/types.pyi +45 -10
- package/dist/typeshed-fallback/stdlib/typing.pyi +45 -47
- package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +53 -12
- package/dist/typeshed-fallback/stdlib/unittest/mock.pyi +3 -1
- package/dist/typeshed-fallback/stdlib/unittest/runner.pyi +11 -12
- package/dist/typeshed-fallback/stdlib/unittest/suite.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/weakref.pyi +19 -5
- package/dist/typeshed-fallback/stdlib/xml/dom/minidom.pyi +5 -4
- package/dist/typeshed-fallback/stdlib/xml/sax/expatreader.pyi +53 -0
- package/dist/typeshed-fallback/stdlib/xmlrpc/client.pyi +4 -3
- package/dist/typeshed-fallback/stdlib/xxlimited.pyi +4 -2
- package/dist/typeshed-fallback/stdlib/zipfile/_path/glob.pyi +22 -0
- package/dist/typeshed-fallback/stdlib/zoneinfo/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/METADATA.toml +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/common/encoding.pyi +10 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/common/errors.pyi +26 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/common/security.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/common/urls.pyi +19 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/consts.pyi +8 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/deprecate.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/__init__.pyi +29 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/async_app.pyi +16 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/async_openid.pyi +8 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/errors.pyi +23 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/framework_integration.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/registry.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/sync_app.pyi +93 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/sync_openid.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/__init__.pyi +44 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_algorithms.pyi +27 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_enc_cryptodome.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_enc_cryptography.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/errors.pyi +72 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/jwk.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/jws.pyi +14 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/models.pyi +25 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/__init__.pyi +9 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/jwe.pyi +23 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/models.pyi +56 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/__init__.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/_cryptography_key.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/asymmetric_key.pyi +39 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/base_key.pyi +28 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/jwk.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/key_set.pyi +10 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/__init__.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/ec_key.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_algs.pyi +64 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_encs.pyi +27 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_zips.pyi +9 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jws_algs.pyi +63 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/oct_key.pyi +23 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/rsa_key.pyi +23 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/util.pyi +2 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7519/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7519/claims.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7519/jwt.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/jws_eddsa.pyi +10 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/okp_key.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/util.pyi +3 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/__init__.pyi +33 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/client.pyi +39 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/errors.pyi +1 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/__init__.pyi +35 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/authorization_server.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/base_server.pyi +12 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/client_auth.pyi +41 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/errors.pyi +56 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/models.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/parameters.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/resource_protector.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/rsa.pyi +2 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/signature.pyi +22 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/util.pyi +2 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/wrapper.pyi +33 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/__init__.pyi +22 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/auth.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/base.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/client.pyi +96 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/__init__.pyi +76 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/authenticate_client.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/authorization_server.pyi +46 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/errors.pyi +92 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/__init__.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/authorization_code.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/base.pyi +55 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/client_credentials.pyi +6 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/implicit.pyi +12 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/refresh_token.pyi +15 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/resource_owner_password_credentials.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/models.pyi +22 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/parameters.pyi +14 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/requests.pyi +48 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/resource_protector.pyi +19 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/token_endpoint.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/util.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/wrappers.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/__init__.pyi +15 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/errors.pyi +27 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/parameters.pyi +6 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/token.pyi +41 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/validator.pyi +6 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7009/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7009/parameters.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7009/revocation.pyi +9 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7521/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7521/client.pyi +39 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/__init__.pyi +18 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/assertion.pyi +19 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/auth.pyi +22 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/client.pyi +16 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/jwt_bearer.pyi +28 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/token.pyi +30 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/validator.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/__init__.pyi +17 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/claims.pyi +22 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/endpoint.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/errors.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7592/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7592/endpoint.pyi +26 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7636/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7636/challenge.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/__init__.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/introspection.pyi +11 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/models.pyi +8 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/token_validator.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8414/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8414/models.pyi +40 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8414/well_known.pyi +1 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/__init__.pyi +19 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/device_code.pyi +15 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/endpoint.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/errors.pyi +10 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/models.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8693/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/__init__.pyi +6 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/claims.pyi +16 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/introspection.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/revocation.pyi +9 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/token.pyi +23 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/token_validator.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/__init__.pyi +29 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/claims.pyi +37 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/errors.pyi +28 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/__init__.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/code.pyi +17 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/hybrid.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/implicit.pyi +16 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/util.pyi +18 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/models.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/util.pyi +1 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/models.pyi +36 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/well_known.pyi +1 -0
- package/dist/typeshed-fallback/stubs/Flask-Migrate/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/Flask-Migrate/flask_migrate/__init__.pyi +2 -4
- package/dist/typeshed-fallback/stubs/Flask-SocketIO/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/Flask-SocketIO/flask_socketio/__init__.pyi +30 -4
- package/dist/typeshed-fallback/stubs/Markdown/markdown/core.pyi +2 -13
- package/dist/typeshed-fallback/stubs/PyAutoGUI/pyautogui/__init__.pyi +2 -2
- package/dist/typeshed-fallback/stubs/PyYAML/yaml/constructor.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Pygments/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/WebOb/webob/exc.pyi +1 -1
- package/dist/typeshed-fallback/stubs/click-log/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/click-log/click_log/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/click-log/click_log/core.pyi +15 -0
- package/dist/typeshed-fallback/stubs/click-log/click_log/options.pyi +12 -0
- package/dist/typeshed-fallback/stubs/click-web/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/__init__.pyi +16 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/exceptions.pyi +2 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/resources/cmd_exec.pyi +79 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/resources/cmd_form.pyi +6 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/resources/index.pyi +6 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/resources/input_fields.pyi +49 -0
- package/dist/typeshed-fallback/stubs/click-web/click_web/web_click_types.pyi +18 -0
- package/dist/typeshed-fallback/stubs/croniter/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/croniter/croniter/croniter.pyi +7 -0
- package/dist/typeshed-fallback/stubs/django-import-export/METADATA.toml +6 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/admin.pyi +114 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/exceptions.pyi +2 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/fields.pyi +34 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/formats/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/formats/base_formats.pyi +57 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/forms.pyi +31 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/instance_loaders.pyi +23 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/mixins.pyi +66 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/resources.pyi +232 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/results.pyi +73 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/signals.pyi +4 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/templatetags/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/templatetags/import_export_tags.pyi +8 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/tmp_storages.pyi +34 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/utils.pyi +18 -0
- package/dist/typeshed-fallback/stubs/django-import-export/import_export/widgets.pyi +66 -0
- package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +2 -2
- package/dist/typeshed-fallback/stubs/flake8-bugbear/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/fpdf2/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/__init__.pyi +2 -0
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/annotations.pyi +2 -2
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/enums.pyi +50 -4
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fonts.pyi +3 -3
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/fpdf.pyi +53 -18
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/html.pyi +2 -0
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/image_parsing.pyi +10 -2
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/line_break.pyi +9 -3
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/outline.pyi +21 -0
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/output.pyi +19 -0
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/prefs.pyi +38 -4
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/table.pyi +13 -1
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/util.pyi +1 -0
- package/dist/typeshed-fallback/stubs/gdb/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/gdb/gdb/__init__.pyi +126 -9
- package/dist/typeshed-fallback/stubs/gdb/gdb/unwinder.pyi +2 -3
- package/dist/typeshed-fallback/stubs/gevent/gevent/select.pyi +7 -2
- package/dist/typeshed-fallback/stubs/hdbcli/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/ibm-db/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/ibm-db/ibm_db.pyi +11 -1
- package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +1 -5
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/tzp.pyi +1 -1
- package/dist/typeshed-fallback/stubs/jsonschema/METADATA.toml +0 -2
- package/dist/typeshed-fallback/stubs/jwcrypto/jwcrypto/jwk.pyi +4 -4
- package/dist/typeshed-fallback/stubs/lupa/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/m3u8/m3u8/httpclient.pyi +1 -1
- package/dist/typeshed-fallback/stubs/nanoleafapi/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/__init__.pyi +16 -0
- package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/digital_twin.pyi +12 -0
- package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/discovery.pyi +1 -0
- package/dist/typeshed-fallback/stubs/nanoleafapi/nanoleafapi/nanoleaf.pyi +68 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multidigraph.pyi +1 -1
- package/dist/typeshed-fallback/stubs/openpyxl/openpyxl/styles/cell_style.pyi +1 -1
- package/dist/typeshed-fallback/stubs/peewee/peewee.pyi +4 -4
- package/dist/typeshed-fallback/stubs/pexpect/pexpect/pty_spawn.pyi +1 -1
- package/dist/typeshed-fallback/stubs/pika/pika/credentials.pyi +10 -7
- package/dist/typeshed-fallback/stubs/polib/polib.pyi +3 -2
- package/dist/typeshed-fallback/stubs/protobuf/METADATA.toml +2 -2
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/api_pb2.pyi +1 -1
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/descriptor_pb2.pyi +4 -8
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/runtime_version.pyi +23 -0
- package/dist/typeshed-fallback/stubs/pycocotools/METADATA.toml +1 -0
- package/dist/typeshed-fallback/stubs/pycocotools/pycocotools/coco.pyi +6 -11
- package/dist/typeshed-fallback/stubs/pycocotools/pycocotools/cocoeval.pyi +16 -30
- package/dist/typeshed-fallback/stubs/pycocotools/pycocotools/mask.pyi +7 -9
- package/dist/typeshed-fallback/stubs/pycurl/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/pycurl/pycurl.pyi +33 -32
- package/dist/typeshed-fallback/stubs/pynput/pynput/keyboard/_base.pyi +65 -65
- package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/relativedelta.pyi +3 -11
- package/dist/typeshed-fallback/stubs/pywin32/_win32typing.pyi +3 -3
- package/dist/typeshed-fallback/stubs/qrbill/qrbill/bill.pyi +2 -2
- package/dist/typeshed-fallback/stubs/requests-oauthlib/requests_oauthlib/oauth1_auth.pyi +1 -1
- package/dist/typeshed-fallback/stubs/seaborn/METADATA.toml +1 -11
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/algorithms.pyi +13 -13
- package/dist/typeshed-fallback/stubs/setuptools/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/cmd.pyi +5 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/bdist.pyi +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/command/install_data.pyi +2 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/dist.pyi +21 -21
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/extension.pyi +3 -4
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/extension.pyi +2 -3
- package/dist/typeshed-fallback/stubs/shapely/shapely/_enum.pyi +1 -1
- package/dist/typeshed-fallback/stubs/six/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/tabulate/tabulate/__init__.pyi +2 -1
- package/dist/typeshed-fallback/stubs/tqdm/tqdm/asyncio.pyi +2 -2
- package/dist/typeshed-fallback/stubs/vobject/METADATA.toml +2 -2
- package/dist/typeshed-fallback/stubs/vobject/vobject/__init__.pyi +2 -4
- package/dist/typeshed-fallback/stubs/vobject/vobject/base.pyi +26 -24
- package/dist/typeshed-fallback/stubs/vobject/vobject/behavior.pyi +5 -4
- package/dist/typeshed-fallback/stubs/vobject/vobject/icalendar.pyi +28 -37
- package/dist/typeshed-fallback/stubs/vobject/vobject/vcard.pyi +20 -20
- package/dist/typeshed-fallback/stubs/vobject/vobject/win32tz.pyi +22 -22
- package/package.json +1 -1
- package/dist/typeshed-fallback/stubs/python-gflags/METADATA.toml +0 -2
- package/dist/typeshed-fallback/stubs/python-gflags/gflags.pyi +0 -309
- package/dist/typeshed-fallback/stubs/redis/METADATA.toml +0 -12
- package/dist/typeshed-fallback/stubs/redis/redis/__init__.pyi +0 -72
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/__init__.pyi +0 -64
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/client.pyi +0 -1091
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/cluster.pyi +0 -229
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/connection.pyi +0 -363
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/lock.pyi +0 -51
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/parser.pyi +0 -9
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/retry.pyi +0 -12
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/sentinel.pyi +0 -162
- package/dist/typeshed-fallback/stubs/redis/redis/asyncio/utils.pyi +0 -15
- package/dist/typeshed-fallback/stubs/redis/redis/backoff.pyi +0 -31
- package/dist/typeshed-fallback/stubs/redis/redis/client.pyi +0 -817
- package/dist/typeshed-fallback/stubs/redis/redis/cluster.pyi +0 -265
- package/dist/typeshed-fallback/stubs/redis/redis/commands/__init__.pyi +0 -17
- package/dist/typeshed-fallback/stubs/redis/redis/commands/bf/__init__.pyi +0 -58
- package/dist/typeshed-fallback/stubs/redis/redis/commands/bf/commands.pyi +0 -112
- package/dist/typeshed-fallback/stubs/redis/redis/commands/bf/info.pyi +0 -43
- package/dist/typeshed-fallback/stubs/redis/redis/commands/cluster.pyi +0 -60
- package/dist/typeshed-fallback/stubs/redis/redis/commands/core.pyi +0 -1743
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/__init__.pyi +0 -26
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/commands.pyi +0 -25
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/edge.pyi +0 -14
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/exceptions.pyi +0 -5
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/node.pyi +0 -18
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/path.pyi +0 -18
- package/dist/typeshed-fallback/stubs/redis/redis/commands/graph/query_result.pyi +0 -74
- package/dist/typeshed-fallback/stubs/redis/redis/commands/helpers.pyi +0 -10
- package/dist/typeshed-fallback/stubs/redis/redis/commands/json/__init__.pyi +0 -15
- package/dist/typeshed-fallback/stubs/redis/redis/commands/json/commands.pyi +0 -32
- package/dist/typeshed-fallback/stubs/redis/redis/commands/json/decoders.pyi +0 -4
- package/dist/typeshed-fallback/stubs/redis/redis/commands/json/path.pyi +0 -5
- package/dist/typeshed-fallback/stubs/redis/redis/commands/parser.pyi +0 -8
- package/dist/typeshed-fallback/stubs/redis/redis/commands/redismodules.pyi +0 -14
- package/dist/typeshed-fallback/stubs/redis/redis/commands/search/__init__.pyi +0 -22
- package/dist/typeshed-fallback/stubs/redis/redis/commands/search/aggregation.pyi +0 -53
- package/dist/typeshed-fallback/stubs/redis/redis/commands/search/commands.pyi +0 -111
- package/dist/typeshed-fallback/stubs/redis/redis/commands/search/query.pyi +0 -52
- package/dist/typeshed-fallback/stubs/redis/redis/commands/search/result.pyi +0 -7
- package/dist/typeshed-fallback/stubs/redis/redis/commands/sentinel.pyi +0 -17
- package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/__init__.pyi +0 -14
- package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/commands.pyi +0 -160
- package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/info.pyi +0 -18
- package/dist/typeshed-fallback/stubs/redis/redis/commands/timeseries/utils.pyi +0 -5
- package/dist/typeshed-fallback/stubs/redis/redis/connection.pyi +0 -289
- package/dist/typeshed-fallback/stubs/redis/redis/crc.pyi +0 -5
- package/dist/typeshed-fallback/stubs/redis/redis/credentials.pyi +0 -11
- package/dist/typeshed-fallback/stubs/redis/redis/exceptions.pyi +0 -42
- package/dist/typeshed-fallback/stubs/redis/redis/lock.pyi +0 -56
- package/dist/typeshed-fallback/stubs/redis/redis/ocsp.pyi +0 -21
- package/dist/typeshed-fallback/stubs/redis/redis/retry.pyi +0 -11
- package/dist/typeshed-fallback/stubs/redis/redis/sentinel.pyi +0 -62
- package/dist/typeshed-fallback/stubs/redis/redis/typing.pyi +0 -34
- package/dist/typeshed-fallback/stubs/redis/redis/utils.pyi +0 -22
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py310.pyi +0 -9
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py311.pyi +0 -4
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py312.pyi +0 -3
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/compat/py39.pyi +0 -7
- /package/dist/typeshed-fallback/stdlib/zipfile/{_path.pyi → _path/__init__.pyi} +0 -0
- /package/dist/typeshed-fallback/stubs/{setuptools/setuptools/compat → Authlib/authlib/common}/__init__.pyi +0 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
from _typeshed import Unused
|
|
3
|
+
from xml.sax import xmlreader
|
|
4
|
+
|
|
5
|
+
version: str
|
|
6
|
+
AttributesImpl = xmlreader.AttributesImpl
|
|
7
|
+
AttributesNSImpl = xmlreader.AttributesNSImpl
|
|
8
|
+
|
|
9
|
+
class _ClosedParser: ...
|
|
10
|
+
|
|
11
|
+
class ExpatLocator(xmlreader.Locator):
|
|
12
|
+
def __init__(self, parser: ExpatParser) -> None: ...
|
|
13
|
+
def getColumnNumber(self) -> int: ...
|
|
14
|
+
def getLineNumber(self) -> int: ...
|
|
15
|
+
def getPublicId(self): ...
|
|
16
|
+
def getSystemId(self): ...
|
|
17
|
+
|
|
18
|
+
class ExpatParser(xmlreader.IncrementalParser, xmlreader.Locator):
|
|
19
|
+
def __init__(self, namespaceHandling: int = 0, bufsize: int = 65516) -> None: ...
|
|
20
|
+
def parse(self, source) -> None: ...
|
|
21
|
+
def prepareParser(self, source) -> None: ...
|
|
22
|
+
def setContentHandler(self, handler) -> None: ...
|
|
23
|
+
def getFeature(self, name: str): ...
|
|
24
|
+
def setFeature(self, name: str, state) -> None: ...
|
|
25
|
+
def getProperty(self, name: str): ...
|
|
26
|
+
def setProperty(self, name: str, value) -> None: ...
|
|
27
|
+
if sys.version_info >= (3, 9):
|
|
28
|
+
def feed(self, data, isFinal: bool = False) -> None: ...
|
|
29
|
+
else:
|
|
30
|
+
def feed(self, data, isFinal: int = 0) -> None: ...
|
|
31
|
+
|
|
32
|
+
def flush(self) -> None: ...
|
|
33
|
+
def close(self) -> None: ...
|
|
34
|
+
def reset(self) -> None: ...
|
|
35
|
+
def getColumnNumber(self) -> int | None: ...
|
|
36
|
+
def getLineNumber(self) -> int: ...
|
|
37
|
+
def getPublicId(self): ...
|
|
38
|
+
def getSystemId(self): ...
|
|
39
|
+
def start_element(self, name: str, attrs: xmlreader.AttributesImpl) -> None: ...
|
|
40
|
+
def end_element(self, name: str) -> None: ...
|
|
41
|
+
def start_element_ns(self, name: str, attrs) -> None: ...
|
|
42
|
+
def end_element_ns(self, name: str) -> None: ...
|
|
43
|
+
def processing_instruction(self, target: str, data: str) -> None: ...
|
|
44
|
+
def character_data(self, data: str) -> None: ...
|
|
45
|
+
def start_namespace_decl(self, prefix: str | None, uri: str) -> None: ...
|
|
46
|
+
def end_namespace_decl(self, prefix: str | None) -> None: ...
|
|
47
|
+
def start_doctype_decl(self, name: str, sysid: str | None, pubid: str | None, has_internal_subset: Unused) -> None: ...
|
|
48
|
+
def unparsed_entity_decl(self, name, base, sysid, pubid, notation_name) -> None: ...
|
|
49
|
+
def notation_decl(self, name, base, sysid, pubid) -> None: ...
|
|
50
|
+
def external_entity_ref(self, context, base, sysid, pubid): ...
|
|
51
|
+
def skipped_entity_handler(self, name: str, is_pe: bool) -> None: ...
|
|
52
|
+
|
|
53
|
+
def create_parser(namespaceHandling: int = 0, bufsize: int = 65516) -> ExpatParser: ...
|
|
@@ -6,7 +6,7 @@ from collections.abc import Callable, Iterable, Mapping
|
|
|
6
6
|
from datetime import datetime
|
|
7
7
|
from io import BytesIO
|
|
8
8
|
from types import TracebackType
|
|
9
|
-
from typing import Any, Final, Literal, Protocol, overload
|
|
9
|
+
from typing import Any, ClassVar, Final, Literal, Protocol, overload
|
|
10
10
|
from typing_extensions import Self, TypeAlias
|
|
11
11
|
|
|
12
12
|
class _SupportsTimeTuple(Protocol):
|
|
@@ -76,6 +76,7 @@ def _strftime(value: _XMLDate) -> str: ... # undocumented
|
|
|
76
76
|
class DateTime:
|
|
77
77
|
value: str # undocumented
|
|
78
78
|
def __init__(self, value: int | str | datetime | time.struct_time | tuple[int, ...] = 0) -> None: ...
|
|
79
|
+
__hash__: ClassVar[None] # type: ignore[assignment]
|
|
79
80
|
def __lt__(self, other: _DateTimeComparable) -> bool: ...
|
|
80
81
|
def __le__(self, other: _DateTimeComparable) -> bool: ...
|
|
81
82
|
def __gt__(self, other: _DateTimeComparable) -> bool: ...
|
|
@@ -95,6 +96,7 @@ class Binary:
|
|
|
95
96
|
def decode(self, data: ReadableBuffer) -> None: ...
|
|
96
97
|
def encode(self, out: SupportsWrite[str]) -> None: ...
|
|
97
98
|
def __eq__(self, other: object) -> bool: ...
|
|
99
|
+
__hash__: ClassVar[None] # type: ignore[assignment]
|
|
98
100
|
|
|
99
101
|
def _binary(data: ReadableBuffer) -> Binary: ... # undocumented
|
|
100
102
|
|
|
@@ -108,8 +110,7 @@ class ExpatParser: # undocumented
|
|
|
108
110
|
_WriteCallback: TypeAlias = Callable[[str], object]
|
|
109
111
|
|
|
110
112
|
class Marshaller:
|
|
111
|
-
|
|
112
|
-
dispatch: dict[type[Any], Callable[[Marshaller, Any, _WriteCallback], None]]
|
|
113
|
+
dispatch: dict[type[_Marshallable] | Literal["_arbitrary_instance"], Callable[[Marshaller, Any, _WriteCallback], None]]
|
|
113
114
|
memo: dict[Any, None]
|
|
114
115
|
data: None
|
|
115
116
|
encoding: str | None
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""This is a template module just for instruction."""
|
|
2
2
|
|
|
3
3
|
import sys
|
|
4
|
-
from typing import Any, final
|
|
4
|
+
from typing import Any, ClassVar, final
|
|
5
5
|
|
|
6
6
|
class Str(str): ...
|
|
7
7
|
|
|
@@ -30,6 +30,8 @@ if sys.version_info >= (3, 10):
|
|
|
30
30
|
|
|
31
31
|
else:
|
|
32
32
|
class error(Exception): ...
|
|
33
|
-
|
|
33
|
+
|
|
34
|
+
class Null:
|
|
35
|
+
__hash__: ClassVar[None] # type: ignore[assignment]
|
|
34
36
|
|
|
35
37
|
def roj(b: Any, /) -> None: ...
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
from collections.abc import Iterator
|
|
3
|
+
from re import Match
|
|
4
|
+
|
|
5
|
+
if sys.version_info >= (3, 13):
|
|
6
|
+
class Translator:
|
|
7
|
+
def __init__(self, seps: str = ...) -> None: ...
|
|
8
|
+
def translate(self, pattern: str) -> str: ...
|
|
9
|
+
def extend(self, pattern: str) -> str: ...
|
|
10
|
+
def match_dirs(self, pattern: str) -> str: ...
|
|
11
|
+
def translate_core(self, pattern: str) -> str: ...
|
|
12
|
+
def replace(self, match: Match[str]) -> str: ...
|
|
13
|
+
def restrict_rglob(self, pattern: str) -> None: ...
|
|
14
|
+
def star_not_empty(self, pattern: str) -> str: ...
|
|
15
|
+
|
|
16
|
+
else:
|
|
17
|
+
def translate(pattern: str) -> str: ...
|
|
18
|
+
def match_dirs(pattern: str) -> str: ...
|
|
19
|
+
def translate_core(pattern: str) -> str: ...
|
|
20
|
+
def replace(match: Match[str]) -> str: ...
|
|
21
|
+
|
|
22
|
+
def separate(pattern: str) -> Iterator[Match[str]]: ...
|
|
@@ -21,7 +21,7 @@ if sys.version_info >= (3, 9):
|
|
|
21
21
|
class ZoneInfo(tzinfo):
|
|
22
22
|
@property
|
|
23
23
|
def key(self) -> str: ...
|
|
24
|
-
def
|
|
24
|
+
def __new__(cls, key: str) -> Self: ...
|
|
25
25
|
@classmethod
|
|
26
26
|
def no_cache(cls, key: str) -> Self: ...
|
|
27
27
|
@classmethod
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
def to_bytes(x, charset: str = "utf-8", errors: str = "strict") -> bytes | None: ...
|
|
2
|
+
def to_unicode(x, charset: str = "utf-8", errors: str = "strict") -> str | None: ...
|
|
3
|
+
def to_native(x, encoding: str = "ascii"): ...
|
|
4
|
+
def json_loads(s): ...
|
|
5
|
+
def json_dumps(data, ensure_ascii: bool = False): ...
|
|
6
|
+
def urlsafe_b64decode(s): ...
|
|
7
|
+
def urlsafe_b64encode(s): ...
|
|
8
|
+
def base64_to_int(s): ...
|
|
9
|
+
def int_to_base64(num): ...
|
|
10
|
+
def json_b64encode(text): ...
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
class AuthlibBaseError(Exception):
|
|
4
|
+
error: Incomplete
|
|
5
|
+
description: str
|
|
6
|
+
uri: Incomplete
|
|
7
|
+
def __init__(
|
|
8
|
+
self, error: Incomplete | None = None, description: Incomplete | None = None, uri: Incomplete | None = None
|
|
9
|
+
) -> None: ...
|
|
10
|
+
|
|
11
|
+
class AuthlibHTTPError(AuthlibBaseError):
|
|
12
|
+
status_code: int
|
|
13
|
+
def __init__(
|
|
14
|
+
self,
|
|
15
|
+
error: Incomplete | None = None,
|
|
16
|
+
description: Incomplete | None = None,
|
|
17
|
+
uri: Incomplete | None = None,
|
|
18
|
+
status_code: Incomplete | None = None,
|
|
19
|
+
) -> None: ...
|
|
20
|
+
def get_error_description(self): ...
|
|
21
|
+
def get_body(self): ...
|
|
22
|
+
def get_headers(self): ...
|
|
23
|
+
uri: Incomplete
|
|
24
|
+
def __call__(self, uri: Incomplete | None = None): ...
|
|
25
|
+
|
|
26
|
+
class ContinueIteration(AuthlibBaseError): ...
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from collections.abc import Collection
|
|
2
|
+
from re import Pattern
|
|
3
|
+
from typing_extensions import TypeAlias
|
|
4
|
+
|
|
5
|
+
always_safe: str
|
|
6
|
+
urlencoded: Collection[str]
|
|
7
|
+
INVALID_HEX_PATTERN: Pattern[str]
|
|
8
|
+
|
|
9
|
+
_ExplodedQueryString: TypeAlias = list[tuple[str, str]]
|
|
10
|
+
|
|
11
|
+
def url_encode(params: _ExplodedQueryString) -> str: ...
|
|
12
|
+
def url_decode(query: str) -> _ExplodedQueryString: ...
|
|
13
|
+
def add_params_to_qs(query: str, params: _ExplodedQueryString) -> str: ...
|
|
14
|
+
def add_params_to_uri(uri: str, params: _ExplodedQueryString, fragment: bool = False): ...
|
|
15
|
+
def quote(s: str, safe: bytes = b"/") -> str: ...
|
|
16
|
+
def unquote(s: str) -> str: ...
|
|
17
|
+
def quote_url(s: str) -> str: ...
|
|
18
|
+
def extract_params(raw: dict[str, str] | _ExplodedQueryString) -> _ExplodedQueryString: ...
|
|
19
|
+
def is_valid_url(url: str) -> bool: ...
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
from .errors import (
|
|
2
|
+
InvalidTokenError as InvalidTokenError,
|
|
3
|
+
MismatchingStateError as MismatchingStateError,
|
|
4
|
+
MissingRequestTokenError as MissingRequestTokenError,
|
|
5
|
+
MissingTokenError as MissingTokenError,
|
|
6
|
+
OAuthError as OAuthError,
|
|
7
|
+
TokenExpiredError as TokenExpiredError,
|
|
8
|
+
UnsupportedTokenTypeError as UnsupportedTokenTypeError,
|
|
9
|
+
)
|
|
10
|
+
from .framework_integration import FrameworkIntegration as FrameworkIntegration
|
|
11
|
+
from .registry import BaseOAuth as BaseOAuth
|
|
12
|
+
from .sync_app import BaseApp as BaseApp, OAuth1Mixin as OAuth1Mixin, OAuth2Mixin as OAuth2Mixin
|
|
13
|
+
from .sync_openid import OpenIDMixin as OpenIDMixin
|
|
14
|
+
|
|
15
|
+
__all__ = [
|
|
16
|
+
"BaseOAuth",
|
|
17
|
+
"BaseApp",
|
|
18
|
+
"OAuth1Mixin",
|
|
19
|
+
"OAuth2Mixin",
|
|
20
|
+
"OpenIDMixin",
|
|
21
|
+
"FrameworkIntegration",
|
|
22
|
+
"OAuthError",
|
|
23
|
+
"MissingRequestTokenError",
|
|
24
|
+
"MissingTokenError",
|
|
25
|
+
"TokenExpiredError",
|
|
26
|
+
"InvalidTokenError",
|
|
27
|
+
"UnsupportedTokenTypeError",
|
|
28
|
+
"MismatchingStateError",
|
|
29
|
+
]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
from authlib.integrations.base_client.sync_app import OAuth1Base, OAuth2Base
|
|
4
|
+
|
|
5
|
+
__all__ = ["AsyncOAuth1Mixin", "AsyncOAuth2Mixin"]
|
|
6
|
+
|
|
7
|
+
class AsyncOAuth1Mixin(OAuth1Base):
|
|
8
|
+
async def request(self, method, url, token: Incomplete | None = None, **kwargs): ...
|
|
9
|
+
async def create_authorization_url(self, redirect_uri: Incomplete | None = None, **kwargs): ...
|
|
10
|
+
async def fetch_access_token(self, request_token: Incomplete | None = None, **kwargs): ...
|
|
11
|
+
|
|
12
|
+
class AsyncOAuth2Mixin(OAuth2Base):
|
|
13
|
+
async def load_server_metadata(self): ...
|
|
14
|
+
async def request(self, method, url, token: Incomplete | None = None, **kwargs): ...
|
|
15
|
+
async def create_authorization_url(self, redirect_uri: Incomplete | None = None, **kwargs): ...
|
|
16
|
+
async def fetch_access_token(self, redirect_uri: Incomplete | None = None, **kwargs): ...
|
package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/async_openid.pyi
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
__all__ = ["AsyncOpenIDMixin"]
|
|
4
|
+
|
|
5
|
+
class AsyncOpenIDMixin:
|
|
6
|
+
async def fetch_jwk_set(self, force: bool = False): ...
|
|
7
|
+
async def userinfo(self, **kwargs): ...
|
|
8
|
+
async def parse_id_token(self, token, nonce, claims_options: Incomplete | None = None): ...
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
from authlib.common.errors import AuthlibBaseError
|
|
2
|
+
|
|
3
|
+
class OAuthError(AuthlibBaseError):
|
|
4
|
+
error: str
|
|
5
|
+
|
|
6
|
+
class MissingRequestTokenError(OAuthError):
|
|
7
|
+
error: str
|
|
8
|
+
|
|
9
|
+
class MissingTokenError(OAuthError):
|
|
10
|
+
error: str
|
|
11
|
+
|
|
12
|
+
class TokenExpiredError(OAuthError):
|
|
13
|
+
error: str
|
|
14
|
+
|
|
15
|
+
class InvalidTokenError(OAuthError):
|
|
16
|
+
error: str
|
|
17
|
+
|
|
18
|
+
class UnsupportedTokenTypeError(OAuthError):
|
|
19
|
+
error: str
|
|
20
|
+
|
|
21
|
+
class MismatchingStateError(OAuthError):
|
|
22
|
+
error: str
|
|
23
|
+
description: str
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
class FrameworkIntegration:
|
|
4
|
+
expires_in: int
|
|
5
|
+
name: Incomplete
|
|
6
|
+
cache: Incomplete
|
|
7
|
+
def __init__(self, name, cache: Incomplete | None = None) -> None: ...
|
|
8
|
+
def get_state_data(self, session, state): ...
|
|
9
|
+
def set_state_data(self, session, state, data): ...
|
|
10
|
+
def clear_state_data(self, session, state): ...
|
|
11
|
+
def update_token(self, token, refresh_token: Incomplete | None = None, access_token: Incomplete | None = None) -> None: ...
|
|
12
|
+
@staticmethod
|
|
13
|
+
def load_config(oauth, name, params) -> None: ...
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
from authlib.integrations.base_client import FrameworkIntegration
|
|
4
|
+
|
|
5
|
+
__all__ = ["BaseOAuth"]
|
|
6
|
+
|
|
7
|
+
class BaseOAuth:
|
|
8
|
+
oauth1_client_cls: Incomplete
|
|
9
|
+
oauth2_client_cls: Incomplete
|
|
10
|
+
framework_integration_cls: type[FrameworkIntegration] = ...
|
|
11
|
+
cache: Incomplete
|
|
12
|
+
fetch_token: Incomplete
|
|
13
|
+
update_token: Incomplete
|
|
14
|
+
def __init__(
|
|
15
|
+
self, cache: Incomplete | None = None, fetch_token: Incomplete | None = None, update_token: Incomplete | None = None
|
|
16
|
+
) -> None: ...
|
|
17
|
+
def create_client(self, name): ...
|
|
18
|
+
def register(self, name, overwrite: bool = False, **kwargs): ...
|
|
19
|
+
def generate_client_kwargs(self, name, overwrite, **kwargs): ...
|
|
20
|
+
def load_config(self, name, params): ...
|
|
21
|
+
def __getattr__(self, key): ...
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
class BaseApp:
|
|
4
|
+
client_cls: Incomplete
|
|
5
|
+
OAUTH_APP_CONFIG: Incomplete
|
|
6
|
+
def request(self, method, url, token: Incomplete | None = None, **kwargs): ...
|
|
7
|
+
def get(self, url, **kwargs): ...
|
|
8
|
+
def post(self, url, **kwargs): ...
|
|
9
|
+
def patch(self, url, **kwargs): ...
|
|
10
|
+
def put(self, url, **kwargs): ...
|
|
11
|
+
def delete(self, url, **kwargs): ...
|
|
12
|
+
|
|
13
|
+
class _RequestMixin: ...
|
|
14
|
+
|
|
15
|
+
class OAuth1Base:
|
|
16
|
+
client_cls: Incomplete
|
|
17
|
+
framework: Incomplete
|
|
18
|
+
name: Incomplete
|
|
19
|
+
client_id: Incomplete
|
|
20
|
+
client_secret: Incomplete
|
|
21
|
+
request_token_url: Incomplete
|
|
22
|
+
request_token_params: Incomplete
|
|
23
|
+
access_token_url: Incomplete
|
|
24
|
+
access_token_params: Incomplete
|
|
25
|
+
authorize_url: Incomplete
|
|
26
|
+
authorize_params: Incomplete
|
|
27
|
+
api_base_url: Incomplete
|
|
28
|
+
client_kwargs: Incomplete
|
|
29
|
+
def __init__(
|
|
30
|
+
self,
|
|
31
|
+
framework,
|
|
32
|
+
name: Incomplete | None = None,
|
|
33
|
+
fetch_token: Incomplete | None = None,
|
|
34
|
+
client_id: Incomplete | None = None,
|
|
35
|
+
client_secret: Incomplete | None = None,
|
|
36
|
+
request_token_url: Incomplete | None = None,
|
|
37
|
+
request_token_params: Incomplete | None = None,
|
|
38
|
+
access_token_url: Incomplete | None = None,
|
|
39
|
+
access_token_params: Incomplete | None = None,
|
|
40
|
+
authorize_url: Incomplete | None = None,
|
|
41
|
+
authorize_params: Incomplete | None = None,
|
|
42
|
+
api_base_url: Incomplete | None = None,
|
|
43
|
+
client_kwargs: Incomplete | None = None,
|
|
44
|
+
user_agent: Incomplete | None = None,
|
|
45
|
+
**kwargs,
|
|
46
|
+
) -> None: ...
|
|
47
|
+
|
|
48
|
+
class OAuth1Mixin(_RequestMixin, OAuth1Base):
|
|
49
|
+
def request(self, method, url, token: Incomplete | None = None, **kwargs): ...
|
|
50
|
+
def create_authorization_url(self, redirect_uri: Incomplete | None = None, **kwargs): ...
|
|
51
|
+
def fetch_access_token(self, request_token: Incomplete | None = None, **kwargs): ...
|
|
52
|
+
|
|
53
|
+
class OAuth2Base:
|
|
54
|
+
client_cls: Incomplete
|
|
55
|
+
framework: Incomplete
|
|
56
|
+
name: Incomplete
|
|
57
|
+
client_id: Incomplete
|
|
58
|
+
client_secret: Incomplete
|
|
59
|
+
access_token_url: Incomplete
|
|
60
|
+
access_token_params: Incomplete
|
|
61
|
+
authorize_url: Incomplete
|
|
62
|
+
authorize_params: Incomplete
|
|
63
|
+
api_base_url: Incomplete
|
|
64
|
+
client_kwargs: Incomplete
|
|
65
|
+
compliance_fix: Incomplete
|
|
66
|
+
client_auth_methods: Incomplete
|
|
67
|
+
server_metadata: Incomplete
|
|
68
|
+
def __init__(
|
|
69
|
+
self,
|
|
70
|
+
framework,
|
|
71
|
+
name: Incomplete | None = None,
|
|
72
|
+
fetch_token: Incomplete | None = None,
|
|
73
|
+
update_token: Incomplete | None = None,
|
|
74
|
+
client_id: Incomplete | None = None,
|
|
75
|
+
client_secret: Incomplete | None = None,
|
|
76
|
+
access_token_url: Incomplete | None = None,
|
|
77
|
+
access_token_params: Incomplete | None = None,
|
|
78
|
+
authorize_url: Incomplete | None = None,
|
|
79
|
+
authorize_params: Incomplete | None = None,
|
|
80
|
+
api_base_url: Incomplete | None = None,
|
|
81
|
+
client_kwargs: Incomplete | None = None,
|
|
82
|
+
server_metadata_url: Incomplete | None = None,
|
|
83
|
+
compliance_fix: Incomplete | None = None,
|
|
84
|
+
client_auth_methods: Incomplete | None = None,
|
|
85
|
+
user_agent: Incomplete | None = None,
|
|
86
|
+
**kwargs,
|
|
87
|
+
) -> None: ...
|
|
88
|
+
|
|
89
|
+
class OAuth2Mixin(_RequestMixin, OAuth2Base):
|
|
90
|
+
def request(self, method, url, token: Incomplete | None = None, **kwargs): ...
|
|
91
|
+
def load_server_metadata(self): ...
|
|
92
|
+
def create_authorization_url(self, redirect_uri: Incomplete | None = None, **kwargs): ...
|
|
93
|
+
def fetch_access_token(self, redirect_uri: Incomplete | None = None, **kwargs): ...
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
class OpenIDMixin:
|
|
4
|
+
def fetch_jwk_set(self, force: bool = False): ...
|
|
5
|
+
def userinfo(self, **kwargs): ...
|
|
6
|
+
def parse_id_token(self, token, nonce, claims_options: Incomplete | None = None, leeway: int = 120): ...
|
|
7
|
+
def create_load_key(self): ...
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
from .errors import JoseError as JoseError
|
|
4
|
+
from .rfc7515 import (
|
|
5
|
+
JsonWebSignature as JsonWebSignature,
|
|
6
|
+
JWSAlgorithm as JWSAlgorithm,
|
|
7
|
+
JWSHeader as JWSHeader,
|
|
8
|
+
JWSObject as JWSObject,
|
|
9
|
+
)
|
|
10
|
+
from .rfc7516 import (
|
|
11
|
+
JsonWebEncryption as JsonWebEncryption,
|
|
12
|
+
JWEAlgorithm as JWEAlgorithm,
|
|
13
|
+
JWEEncAlgorithm as JWEEncAlgorithm,
|
|
14
|
+
JWEZipAlgorithm as JWEZipAlgorithm,
|
|
15
|
+
)
|
|
16
|
+
from .rfc7517 import JsonWebKey as JsonWebKey, Key as Key, KeySet as KeySet
|
|
17
|
+
from .rfc7518 import ECKey as ECKey, OctKey as OctKey, RSAKey as RSAKey
|
|
18
|
+
from .rfc7519 import BaseClaims as BaseClaims, JsonWebToken as JsonWebToken, JWTClaims as JWTClaims
|
|
19
|
+
from .rfc8037 import OKPKey as OKPKey
|
|
20
|
+
|
|
21
|
+
__all__ = [
|
|
22
|
+
"JoseError",
|
|
23
|
+
"JsonWebSignature",
|
|
24
|
+
"JWSAlgorithm",
|
|
25
|
+
"JWSHeader",
|
|
26
|
+
"JWSObject",
|
|
27
|
+
"JsonWebEncryption",
|
|
28
|
+
"JWEAlgorithm",
|
|
29
|
+
"JWEEncAlgorithm",
|
|
30
|
+
"JWEZipAlgorithm",
|
|
31
|
+
"JsonWebKey",
|
|
32
|
+
"Key",
|
|
33
|
+
"KeySet",
|
|
34
|
+
"OctKey",
|
|
35
|
+
"RSAKey",
|
|
36
|
+
"ECKey",
|
|
37
|
+
"OKPKey",
|
|
38
|
+
"JsonWebToken",
|
|
39
|
+
"BaseClaims",
|
|
40
|
+
"JWTClaims",
|
|
41
|
+
"jwt",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
jwt: Incomplete
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
from authlib.jose.rfc7516 import JWEAlgorithmWithTagAwareKeyAgreement
|
|
4
|
+
|
|
5
|
+
class ECDH1PUAlgorithm(JWEAlgorithmWithTagAwareKeyAgreement):
|
|
6
|
+
EXTRA_HEADERS: Incomplete
|
|
7
|
+
ALLOWED_KEY_CLS: Incomplete
|
|
8
|
+
name: str
|
|
9
|
+
description: str
|
|
10
|
+
key_size: Incomplete
|
|
11
|
+
aeskw: Incomplete
|
|
12
|
+
def __init__(self, key_size: Incomplete | None = None) -> None: ...
|
|
13
|
+
def prepare_key(self, raw_data): ...
|
|
14
|
+
def generate_preset(self, enc_alg, key): ...
|
|
15
|
+
def compute_shared_key(self, shared_key_e, shared_key_s): ...
|
|
16
|
+
def compute_fixed_info(self, headers, bit_size, tag): ...
|
|
17
|
+
def compute_derived_key(self, shared_key, fixed_info, bit_size): ...
|
|
18
|
+
def deliver_at_sender(self, sender_static_key, sender_ephemeral_key, recipient_pubkey, headers, bit_size, tag): ...
|
|
19
|
+
def deliver_at_recipient(self, recipient_key, sender_static_pubkey, sender_ephemeral_pubkey, headers, bit_size, tag): ...
|
|
20
|
+
def generate_keys_and_prepare_headers(self, enc_alg, key, sender_key, preset: Incomplete | None = None): ...
|
|
21
|
+
def agree_upon_key_and_wrap_cek(self, enc_alg, headers, key, sender_key, epk, cek, tag): ...
|
|
22
|
+
def wrap(self, enc_alg, headers, key, sender_key, preset: Incomplete | None = None): ...
|
|
23
|
+
def unwrap(self, enc_alg, ek, headers, key, sender_key, tag: Incomplete | None = None): ...
|
|
24
|
+
|
|
25
|
+
JWE_DRAFT_ALG_ALGORITHMS: Incomplete
|
|
26
|
+
|
|
27
|
+
def register_jwe_alg_draft(cls) -> None: ...
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
from authlib.jose.rfc7516 import JWEEncAlgorithm
|
|
4
|
+
|
|
5
|
+
class XC20PEncAlgorithm(JWEEncAlgorithm):
|
|
6
|
+
IV_SIZE: int
|
|
7
|
+
name: str
|
|
8
|
+
description: str
|
|
9
|
+
key_size: Incomplete
|
|
10
|
+
CEK_SIZE: Incomplete
|
|
11
|
+
def __init__(self, key_size) -> None: ...
|
|
12
|
+
def encrypt(self, msg, aad, iv, key): ...
|
|
13
|
+
def decrypt(self, ciphertext, aad, iv, tag, key): ...
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
from authlib.jose.rfc7516 import JWEEncAlgorithm
|
|
4
|
+
|
|
5
|
+
class C20PEncAlgorithm(JWEEncAlgorithm):
|
|
6
|
+
IV_SIZE: int
|
|
7
|
+
name: str
|
|
8
|
+
description: str
|
|
9
|
+
key_size: Incomplete
|
|
10
|
+
CEK_SIZE: Incomplete
|
|
11
|
+
def __init__(self, key_size) -> None: ...
|
|
12
|
+
def encrypt(self, msg, aad, iv, key): ...
|
|
13
|
+
def decrypt(self, ciphertext, aad, iv, tag, key): ...
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
from authlib.common.errors import AuthlibBaseError
|
|
4
|
+
|
|
5
|
+
class JoseError(AuthlibBaseError): ...
|
|
6
|
+
|
|
7
|
+
class DecodeError(JoseError):
|
|
8
|
+
error: str
|
|
9
|
+
|
|
10
|
+
class MissingAlgorithmError(JoseError):
|
|
11
|
+
error: str
|
|
12
|
+
|
|
13
|
+
class UnsupportedAlgorithmError(JoseError):
|
|
14
|
+
error: str
|
|
15
|
+
|
|
16
|
+
class BadSignatureError(JoseError):
|
|
17
|
+
error: str
|
|
18
|
+
result: Incomplete
|
|
19
|
+
def __init__(self, result) -> None: ...
|
|
20
|
+
|
|
21
|
+
class InvalidHeaderParameterNameError(JoseError):
|
|
22
|
+
error: str
|
|
23
|
+
def __init__(self, name) -> None: ...
|
|
24
|
+
|
|
25
|
+
class InvalidEncryptionAlgorithmForECDH1PUWithKeyWrappingError(JoseError):
|
|
26
|
+
error: str
|
|
27
|
+
def __init__(self) -> None: ...
|
|
28
|
+
|
|
29
|
+
class InvalidAlgorithmForMultipleRecipientsMode(JoseError):
|
|
30
|
+
error: str
|
|
31
|
+
def __init__(self, alg) -> None: ...
|
|
32
|
+
|
|
33
|
+
class KeyMismatchError(JoseError):
|
|
34
|
+
error: str
|
|
35
|
+
description: str
|
|
36
|
+
|
|
37
|
+
class MissingEncryptionAlgorithmError(JoseError):
|
|
38
|
+
error: str
|
|
39
|
+
description: str
|
|
40
|
+
|
|
41
|
+
class UnsupportedEncryptionAlgorithmError(JoseError):
|
|
42
|
+
error: str
|
|
43
|
+
description: str
|
|
44
|
+
|
|
45
|
+
class UnsupportedCompressionAlgorithmError(JoseError):
|
|
46
|
+
error: str
|
|
47
|
+
description: str
|
|
48
|
+
|
|
49
|
+
class InvalidUseError(JoseError):
|
|
50
|
+
error: str
|
|
51
|
+
description: str
|
|
52
|
+
|
|
53
|
+
class InvalidClaimError(JoseError):
|
|
54
|
+
error: str
|
|
55
|
+
claim_name: Incomplete
|
|
56
|
+
def __init__(self, claim) -> None: ...
|
|
57
|
+
|
|
58
|
+
class MissingClaimError(JoseError):
|
|
59
|
+
error: str
|
|
60
|
+
def __init__(self, claim) -> None: ...
|
|
61
|
+
|
|
62
|
+
class InsecureClaimError(JoseError):
|
|
63
|
+
error: str
|
|
64
|
+
def __init__(self, claim) -> None: ...
|
|
65
|
+
|
|
66
|
+
class ExpiredTokenError(JoseError):
|
|
67
|
+
error: str
|
|
68
|
+
description: str
|
|
69
|
+
|
|
70
|
+
class InvalidTokenError(JoseError):
|
|
71
|
+
error: str
|
|
72
|
+
description: str
|