Connect to Towns using a Bearer Token Towns clients can use this to connect to Towns Protocol on behalf of a userUseful for server side code, allowing you to persist the signer context and use it to auth with Towns later
Imports
import { connectTownsWithBearerToken } from '@towns-protocol/react-sdk'
Definition
function connectTownsWithBearerToken( token: string, config: Omit<SyncAgentConfig, "context">,): Promise<SyncAgent>