massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / oauthlib / oauthlib / openid / connect / core / grant_types / dispatchers.pyi
1 from typing import Any
2
3 log: Any
4
5 class Dispatcher:
6     default_grant: Any
7     oidc_grant: Any
8
9 class AuthorizationCodeGrantDispatcher(Dispatcher):
10     default_grant: Any
11     oidc_grant: Any
12     def __init__(self, default_grant: Any | None = ..., oidc_grant: Any | None = ...) -> None: ...
13     def create_authorization_response(self, request, token_handler): ...
14     def validate_authorization_request(self, request): ...
15
16 class ImplicitTokenGrantDispatcher(Dispatcher):
17     default_grant: Any
18     oidc_grant: Any
19     def __init__(self, default_grant: Any | None = ..., oidc_grant: Any | None = ...) -> None: ...
20     def create_authorization_response(self, request, token_handler): ...
21     def validate_authorization_request(self, request): ...
22
23 class AuthorizationTokenGrantDispatcher(Dispatcher):
24     default_grant: Any
25     oidc_grant: Any
26     request_validator: Any
27     def __init__(self, request_validator, default_grant: Any | None = ..., oidc_grant: Any | None = ...) -> None: ...
28     def create_token_response(self, request, token_handler): ...