MCPcopy Create free account
hub / github.com/tiann/hapi / resolveSessionAccess

Method resolveSessionAccess

hub/src/sync/syncEngine.ts:206–211  ·  view source on GitHub ↗
(
        sessionId: string,
        namespace: string
    )

Source from the content-addressed store, hash-verified

204 }
205
206 resolveSessionAccess(
207 sessionId: string,
208 namespace: string
209 ): { ok: true; sessionId: string; session: Session } | { ok: false; reason: 'not-found' | 'access-denied' } {
210 return this.sessionCache.resolveSessionAccess(sessionId, namespace)
211 }
212
213 getActiveSessions(): Session[] {
214 return this.sessionCache.getActiveSessions()

Callers 6

resumeSessionMethod · 0.45
reopenSessionMethod · 0.45
handoffSessionToLocalMethod · 0.45
requireSessionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected