[READ-ONLY] a fast, modern browser for the npm registry
at main 7 lines 335 B view raw
1export default eventHandlerWithOAuthSession(async (event, oAuthSession, serverSession) => { 2 // Even tho the signOut also clears part of the server cache should be done in order 3 // to let the oAuth package do any other clean up it may need 4 await oAuthSession?.signOut() 5 await serverSession.clear() 6 return 'Session cleared' 7})