"""Spotify integration: OAuth against Spotify, and the per-user account link.

Spotify is a THIRD-PARTY integration, not an identity provider (plan D7). Users
sign in with a BW account; connecting Spotify is a separate authorization they
grant afterwards, and a user exists whether or not one is attached.
"""

from .accounts import (
    connection_health,
    get_account,
    link_account,
    unlink_account,
    valid_access_token,
)
from .oauth import SCOPES, SpotifyError, authorize_url, exchange_code

__all__ = [
    "SCOPES",
    "SpotifyError",
    "authorize_url",
    "connection_health",
    "exchange_code",
    "get_account",
    "link_account",
    "unlink_account",
    "valid_access_token",
]
