common_auth.sessions
Provider-session operations composed with injected browser/gateway hooks.
Classes
Session
Serialize provider hooks, bound their wait and retain honest observations.
A thin utility deliberately has no registry: the actual variation is an injected provider (Schwab browser, IB brokerage session, or application). It borrows that provider and never assumes token validity proves session health. No scheduling, browser dependencies or settings reads are hidden here.
__init__
def __init__(config: SessionConfig, *, provider: SessionProvider) -> NoneFields and properties declared here; inherited members belong to the bases above.
config
config = configcheck
async def check(session: SessionRef, *, fresh: bool = False) -> AuthResult[SessionState]start
async def start(session: SessionRef) -> AuthResult[SessionState]stop
async def stop(session: SessionRef) -> AuthResult[SessionState]