[Authlib] Update to 1.6.5 (#14830)

This commit is contained in:
Semyon Moroz
2025-10-04 22:21:59 +04:00
committed by GitHub
parent aa52024657
commit 725a90026e
5 changed files with 19 additions and 11 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
version = "~= 1.6.4"
version = "1.6.5"
upstream_repository = "https://github.com/lepture/authlib"
requires = ["cryptography"]
partial_stub = true
+3 -2
View File
@@ -1,8 +1,9 @@
from _typeshed import Incomplete
class JsonWebSignature:
REGISTERED_HEADER_PARAMETER_NAMES: Incomplete
ALGORITHMS_REGISTRY: Incomplete
REGISTERED_HEADER_PARAMETER_NAMES: frozenset[str]
MAX_CONTENT_LENGTH: int
ALGORITHMS_REGISTRY: dict[str, Incomplete]
def __init__(self, algorithms=None, private_headers=None) -> None: ...
@classmethod
def register_algorithm(cls, algorithm) -> None: ...
@@ -40,8 +40,8 @@ class JWEZipAlgorithm:
description: Incomplete
algorithm_type: str
algorithm_location: str
def compress(self, s) -> None: ...
def decompress(self, s) -> None: ...
def compress(self, s: bytes) -> bytes | None: ...
def decompress(self, s: bytes) -> bytes | None: ...
class JWESharedHeader(dict[str, object]):
protected: Incomplete
@@ -1,9 +1,14 @@
from typing import Final
from authlib.jose.rfc7516 import JWEZipAlgorithm
GZIP_HEAD: Final[bytes]
MAX_SIZE: Final = 256000
class DeflateZipAlgorithm(JWEZipAlgorithm):
name: str
description: str
def compress(self, s): ...
def decompress(self, s): ...
def compress(self, s: bytes) -> bytes: ...
def decompress(self, s: bytes) -> bytes: ...
def register_jwe_rfc7518() -> None: ...
@@ -1,6 +1,8 @@
from _typeshed import Incomplete
from typing import Final
from authlib.jose import JWTClaims
class ClientRegistrationEndpoint:
ENDPOINT_NAME: Final = "client_registration"
software_statement_alg_values_supported: Incomplete
@@ -10,12 +12,12 @@ class ClientRegistrationEndpoint:
def __call__(self, request) -> dict[Incomplete, Incomplete]: ...
def create_registration_response(self, request): ...
def extract_client_metadata(self, request): ...
def extract_software_statement(self, software_statement, request): ...
def generate_client_info(self): ...
def extract_software_statement(self, software_statement, request) -> JWTClaims: ...
def generate_client_info(self, request) -> dict[str, Incomplete]: ...
def generate_client_registration_info(self, client, request) -> None: ...
def create_endpoint_request(self, request): ...
def generate_client_id(self): ...
def generate_client_secret(self): ...
def generate_client_id(self, request) -> str: ...
def generate_client_secret(self, request) -> str: ...
def get_server_metadata(self) -> None: ...
def authenticate_token(self, request) -> None: ...
def resolve_public_key(self, request) -> None: ...