def FakeGoogle(base_url: str):
    return oauth.OAuth2(
        "google",
        client_id="a-client-id",
        client_secret="a-client-secret",
        auth_url="unused",
        token_url="unused",
        refresh_url=base_url + "/refresh",
        scope="unused",
        redirect_url="unused",
    )
from fetcher.secrets import prepare_secret

FakeTwitter = oauth.OAuth1a(
    "twitter",
    consumer_key="a-consumer-key",
    consumer_secret="a-consumer-secret",
    auth_url="notused",
    request_token_url="notused",
    access_token_url="notused",
    redirect_url="notused",
)
FakeIntercom = oauth.OAuth2(
    "intercom",
    client_id="a-client-id",
    client_secret="a-client-secret",
    auth_url="unused",
    token_url="unused",
    refresh_url="AIOHTTP_ORIGIN/refresh",
    scope="unused",
    redirect_url="unused",
)


def FakeGoogle(base_url: str):
    return oauth.OAuth2(
        "google",
        client_id="a-client-id",
        client_secret="a-client-secret",
        auth_url="unused",
        token_url="unused",
        refresh_url=base_url + "/refresh",
        scope="unused",