Interface: ConnectSession
The minimal contract the SDK needs from a Connect session: a source of the current access token. The browser session (createBrowserConnect) satisfies it, as does any token source you provide, so either can drive an @nosana/kit client's API auth.
Methods
getAccessToken()
ts
getAccessToken():
| string
| Promise<string>;Returns
| string | Promise<string>