package auth import "context" // SessionRefresher defines the interface for refreshing authentication tokens. // This allows the API client to automatically refresh tokens on 401 responses. type SessionRefresher interface { RefreshToken() error RefreshTokenWithContext(ctx context.Context) error GetSession() (*Session, error) }