File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 FlattenedJSONSerialization ,
66)
77from .rfc7516 .models import (
8- Recipient ,
9- CompactEncryption ,
10- GeneralJSONEncryption ,
11- FlattenedJSONEncryption ,
8+ Recipient as Recipient ,
9+ CompactEncryption as CompactEncryption ,
10+ GeneralJSONEncryption as GeneralJSONEncryption ,
11+ FlattenedJSONEncryption as FlattenedJSONEncryption ,
1212 JWEEncModel ,
1313 JWEZipModel ,
1414)
1515from .rfc7516 .registry import (
16- JWERegistry ,
16+ JWERegistry as JWERegistry ,
1717 default_registry ,
1818)
1919from .rfc7516 .message import perform_encrypt , perform_decrypt
Original file line number Diff line number Diff line change 66 KeySet ,
77 Key ,
88)
9- from .rfc7518 .oct_key import OctKey
10- from .rfc7518 .rsa_key import RSAKey
11- from .rfc7518 .ec_key import ECKey
12- from .rfc8037 .okp_key import OKPKey
9+ from .rfc7518 .oct_key import OctKey as OctKey
10+ from .rfc7518 .rsa_key import RSAKey as RSAKey
11+ from .rfc7518 .ec_key import ECKey as ECKey
12+ from .rfc8037 .okp_key import OKPKey as OKPKey
1313from .rfc8812 import register_secp256k1
1414from .registry import Header
1515
Original file line number Diff line number Diff line change 22from typing import overload , TypeVar , Any , Dict
33from .rfc7515 .model import (
44 JWSAlgModel ,
5- HeaderMember ,
6- CompactSignature ,
7- GeneralJSONSignature ,
8- FlattenedJSONSignature ,
5+ HeaderMember as HeaderMember ,
6+ CompactSignature as CompactSignature ,
7+ GeneralJSONSignature as GeneralJSONSignature ,
8+ FlattenedJSONSignature as FlattenedJSONSignature ,
99)
1010from .rfc7515 .registry import (
11- JWSRegistry ,
11+ JWSRegistry as JWSRegistry ,
1212 construct_registry ,
1313)
1414from .rfc7515 .compact import (
15+ extract_compact as extract_compact ,
1516 sign_compact ,
16- extract_compact ,
1717 verify_compact ,
1818 detach_compact_content ,
1919)
2727 detach_json_content ,
2828)
2929from .rfc7515 .types import (
30- HeaderDict ,
31- GeneralJSONSerialization ,
32- FlattenedJSONSerialization ,
30+ HeaderDict as HeaderDict ,
31+ GeneralJSONSerialization as GeneralJSONSerialization ,
32+ FlattenedJSONSerialization as FlattenedJSONSerialization ,
3333)
3434from .rfc7518 .jws_algs import JWS_ALGORITHMS
3535from .rfc8037 .jws_eddsa import EdDSA
Original file line number Diff line number Diff line change 11from __future__ import annotations
22import json
3- from .rfc7519 .claims import Claims , convert_claims , check_sensitive_data
4- from .rfc7519 .registry import ClaimsOption , JWTClaimsRegistry
3+ from .rfc7519 .claims import convert_claims
4+ from .rfc7519 .claims import Claims as Claims
5+ from .rfc7519 .claims import check_sensitive_data as check_sensitive_data
6+ from .rfc7519 .registry import ClaimsOption as ClaimsOption
7+ from .rfc7519 .registry import JWTClaimsRegistry as JWTClaimsRegistry
58from .jws import (
69 JWSRegistry ,
710 serialize_compact ,
You can’t perform that action at this time.
0 commit comments