1 """API for Monzo bound to Home Assistant OAuth."""
3 from aiohttp
import ClientSession
4 from monzopy
import AbstractMonzoApi
10 """A Monzo API instance with authentication tied to an OAuth2 based config entry."""
14 websession: ClientSession,
15 oauth_session: config_entry_oauth2_flow.OAuth2Session,
17 """Initialize Monzo auth."""
22 """Return a valid access token."""
str async_get_access_token(self)
None __init__(self, ClientSession websession, config_entry_oauth2_flow.OAuth2Session oauth_session)