# !!!
# WARNING: This file is autogenerated
# Only modify code within MANUAL() sections
# or your changes may be overwritten later!
# !!!

from __future__ import annotations

import jwt

from stytch.consumer.api.m2m_clients import Clients
from stytch.core.api_base import ApiBase
from stytch.core.http.client import AsyncClient, SyncClient


class M2M:
    def __init__(
        self,
        api_base: ApiBase,
        sync_client: SyncClient,
        async_client: AsyncClient,
        jwks_client: jwt.PyJWKClient,
        project_id: str,
    ) -> None:
        self.api_base = api_base
        self.sync_client = sync_client
        self.async_client = async_client
        self.jwks_client = jwks_client
        self.clients = Clients(api_base, sync_client, async_client)
