massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / braintree / braintree / oauth_gateway.pyi
1 from typing import Any
2
3 from braintree.error_result import ErrorResult as ErrorResult
4 from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
5 from braintree.oauth_credentials import OAuthCredentials as OAuthCredentials
6 from braintree.successful_result import SuccessfulResult as SuccessfulResult
7
8 class OAuthGateway:
9     gateway: Any
10     config: Any
11     def __init__(self, gateway) -> None: ...
12     def create_token_from_code(self, params): ...
13     def create_token_from_refresh_token(self, params): ...
14     def revoke_access_token(self, access_token): ...
15     def connect_url(self, raw_params): ...