MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / getSsoSession

Function getSsoSession

apps/web/services/sso/index.ts:3–8  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

1import { prisma } from '@linen/database';
2
3export const getSsoSession = async (id: string) => {
4 return await prisma.session.delete({
5 where: { id },
6 select: { sessionToken: true },
7 });
8};
9
10export const createSsoSession = async (
11 userId: string,

Callers 1

CreateRouterFunction · 0.85

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected