<gh_stars>0
"""Has binance auth interface."""

from typing import Protocol

from exapi.auth.binance.result import BinanceAuthResult
from exapi.requesters.typedefs import Params


class IBinanceAuth(Protocol):
    """Has methods for auth requests to binance api."""

    def sign(self, params: Params, body: str = "") -> BinanceAuthResult:
        """Returns headers with api key and query string with signature.

        Args:
            params (Params): request params.

        Returns:
            BinanceAuthResult
        """

"""Has binance auth interface."""

from typing import Protocol

from exapi.auth.binance.result import BinanceAuthResult
from exapi.requesters.typedefs import Params


class IBinanceAuth(Protocol):
    """Has methods for auth requests to binance api."""

    def sign(self, params: Params, body: str = "") -> BinanceAuthResult:
        """Returns headers with api key and query string with signature.

        Args:
            params (Params): request params.

        Returns:
            BinanceAuthResult
        """
Has binance auth interface. Has methods for auth requests to binance api. Returns headers with api key and query string with signature.          Args:             params (Params): request params.          Returns:             BinanceAuthResult