mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 20:45:49 +08:00
[Authlib] Update to 1.6.9 (#15481)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
version = "1.6.8"
|
||||
version = "1.6.9"
|
||||
upstream_repository = "https://github.com/authlib/authlib"
|
||||
requires = ["cryptography"]
|
||||
|
||||
@@ -4,6 +4,7 @@ from typing_extensions import Self
|
||||
class JWSAlgorithm:
|
||||
name: str | None
|
||||
description: str | None
|
||||
deprecated: bool
|
||||
algorithm_type: str
|
||||
algorithm_location: str
|
||||
def prepare_key(self, raw_data): ...
|
||||
|
||||
@@ -8,6 +8,7 @@ class JWEAlgorithmBase(metaclass=ABCMeta):
|
||||
EXTRA_HEADERS: ClassVar[Iterable[str] | None]
|
||||
name: str | None
|
||||
description: str | None
|
||||
deprecated: bool
|
||||
algorithm_type: str
|
||||
algorithm_location: str
|
||||
def prepare_key(self, raw_data): ...
|
||||
|
||||
@@ -19,6 +19,7 @@ class DirectAlgorithm(JWEAlgorithm):
|
||||
class RSAAlgorithm(JWEAlgorithm):
|
||||
key_size: int
|
||||
name: str
|
||||
deprecated: bool
|
||||
description: str
|
||||
padding: Incomplete
|
||||
def __init__(self, name: str, description: str, pad_fn) -> None: ...
|
||||
|
||||
@@ -12,6 +12,7 @@ from .rsa_key import RSAKey
|
||||
class NoneAlgorithm(JWSAlgorithm):
|
||||
name: str
|
||||
description: str
|
||||
deprecated: bool
|
||||
def prepare_key(self, raw_data) -> None: ...
|
||||
def sign(self, msg, key) -> bytes: ...
|
||||
def verify(self, msg, sig, key) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user