MCPcopy
hub / github.com/npmx-dev/npmx.dev / session.delete.ts

File session.delete.ts

server/api/auth/session.delete.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export default eventHandlerWithOAuthSession(async (event, oAuthSession, serverSession) => {
2 // Even though the signOut also clears part of the server cache, this should be done in order
3 // to let the OAuth package do any other clean up it may need
4 await oAuthSession?.signOut()

Callers

nothing calls this directly

Calls 2

clearMethod · 0.80

Tested by

no test coverage detected