mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-09 06:46:18 +08:00
[Authlib] Update to 1.6.6 (#15131)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
version = "1.6.5"
|
||||
version = "1.6.6"
|
||||
upstream_repository = "https://github.com/lepture/authlib"
|
||||
requires = ["cryptography"]
|
||||
partial_stub = true
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
from logging import Logger
|
||||
|
||||
from authlib.oauth2 import OAuth2Request
|
||||
from authlib.oauth2.client import OAuth2Client
|
||||
from authlib.oauth2.rfc6749 import BaseGrant
|
||||
from authlib.oidc.core import UserInfo
|
||||
|
||||
log: Logger
|
||||
|
||||
class OpenIDToken:
|
||||
def get_jwt_config(self, grant: BaseGrant) -> dict[str, str | int]: ...
|
||||
def get_jwt_config(self, grant: BaseGrant, client: OAuth2Client) -> dict[str, str | int]: ...
|
||||
def generate_user_info(self, user, scope: str) -> UserInfo: ...
|
||||
def get_audiences(self, request: OAuth2Request) -> list[str]: ...
|
||||
def process_token(self, grant: BaseGrant, response) -> dict[str, str | int]: ...
|
||||
|
||||
@@ -1,16 +1,18 @@
|
||||
from _typeshed import Incomplete
|
||||
from logging import Logger
|
||||
|
||||
from authlib.oauth2.client import OAuth2Client
|
||||
from authlib.oauth2.rfc6749 import ImplicitGrant
|
||||
from authlib.oidc.core import UserInfo
|
||||
|
||||
log: Logger
|
||||
|
||||
class OpenIDImplicitGrant(ImplicitGrant):
|
||||
RESPONSE_TYPES: Incomplete
|
||||
DEFAULT_RESPONSE_MODE: str
|
||||
def exists_nonce(self, nonce, request) -> None: ...
|
||||
def get_jwt_config(self) -> None: ...
|
||||
def generate_user_info(self, user, scope) -> None: ...
|
||||
def exists_nonce(self, nonce, request) -> bool: ...
|
||||
def get_jwt_config(self, client: OAuth2Client) -> dict[str, Incomplete]: ...
|
||||
def generate_user_info(self, user, scope) -> UserInfo: ...
|
||||
def get_audiences(self, request): ...
|
||||
def validate_authorization_request(self) -> str: ...
|
||||
def validate_consent_request(self) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user