from _typeshed import Incomplete
from logging import Logger

log: Logger

class GrantTypeBase:
    def __getattr__(self, attr: str): ...
    def __setattr__(self, attr: str, value) -> None: ...
    def validate_authorization_request(self, request): ...
    def id_token_hash(self, value, hashfunc=...): ...
    def add_id_token(self, token, token_handler, request, nonce: Incomplete | None = None): ...
    def openid_authorization_validator(self, request): ...

OpenIDConnectBase = GrantTypeBase
