massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / oauthlib / oauthlib / oauth2 / rfc6749 / endpoints / pre_configured.pyi
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/oauthlib/oauthlib/oauth2/rfc6749/endpoints/pre_configured.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/oauthlib/oauthlib/oauth2/rfc6749/endpoints/pre_configured.pyi
new file mode 100644 (file)
index 0000000..0f43563
--- /dev/null
@@ -0,0 +1,74 @@
+from typing import Any
+
+from .authorization import AuthorizationEndpoint as AuthorizationEndpoint
+from .introspect import IntrospectEndpoint as IntrospectEndpoint
+from .resource import ResourceEndpoint as ResourceEndpoint
+from .revocation import RevocationEndpoint as RevocationEndpoint
+from .token import TokenEndpoint as TokenEndpoint
+
+class Server(AuthorizationEndpoint, IntrospectEndpoint, TokenEndpoint, ResourceEndpoint, RevocationEndpoint):
+    auth_grant: Any
+    implicit_grant: Any
+    password_grant: Any
+    credentials_grant: Any
+    refresh_grant: Any
+    bearer: Any
+    def __init__(
+        self,
+        request_validator,
+        token_expires_in: Any | None = ...,
+        token_generator: Any | None = ...,
+        refresh_token_generator: Any | None = ...,
+        *args,
+        **kwargs,
+    ) -> None: ...
+
+class WebApplicationServer(AuthorizationEndpoint, IntrospectEndpoint, TokenEndpoint, ResourceEndpoint, RevocationEndpoint):
+    auth_grant: Any
+    refresh_grant: Any
+    bearer: Any
+    def __init__(
+        self,
+        request_validator,
+        token_generator: Any | None = ...,
+        token_expires_in: Any | None = ...,
+        refresh_token_generator: Any | None = ...,
+        **kwargs,
+    ) -> None: ...
+
+class MobileApplicationServer(AuthorizationEndpoint, IntrospectEndpoint, ResourceEndpoint, RevocationEndpoint):
+    implicit_grant: Any
+    bearer: Any
+    def __init__(
+        self,
+        request_validator,
+        token_generator: Any | None = ...,
+        token_expires_in: Any | None = ...,
+        refresh_token_generator: Any | None = ...,
+        **kwargs,
+    ) -> None: ...
+
+class LegacyApplicationServer(TokenEndpoint, IntrospectEndpoint, ResourceEndpoint, RevocationEndpoint):
+    password_grant: Any
+    refresh_grant: Any
+    bearer: Any
+    def __init__(
+        self,
+        request_validator,
+        token_generator: Any | None = ...,
+        token_expires_in: Any | None = ...,
+        refresh_token_generator: Any | None = ...,
+        **kwargs,
+    ) -> None: ...
+
+class BackendApplicationServer(TokenEndpoint, IntrospectEndpoint, ResourceEndpoint, RevocationEndpoint):
+    credentials_grant: Any
+    bearer: Any
+    def __init__(
+        self,
+        request_validator,
+        token_generator: Any | None = ...,
+        token_expires_in: Any | None = ...,
+        refresh_token_generator: Any | None = ...,
+        **kwargs,
+    ) -> None: ...