Skip to content
SegmentStream/ Docs

Loading documentation…

↑ ↓ to navigate  ↵ to open  Esc to close
Website Console
Section menu

@segmentstream/ontology/channel-session

9 public exports from @segmentstream/ontology/channel-session.

Public exports

CHANNEL_LOGOUT_PATH
const CHANNEL_LOGOUT_PATH = "/api/ontology/sign-in/logout"
CHANNEL_SESSION_PATH

Browser-safe wire protocol shared by the ontology service and app SDK.

const CHANNEL_SESSION_PATH = "/api/ontology/session"
CHANNEL_SESSION_TTL_SECONDS
const CHANNEL_SESSION_TTL_SECONDS = 3600
channelClientId
const channelClientId: (provider: string) => string
channelCookie
const channelCookie: (name: string, token: string, maxAge: number) => string
channelCookieAttributes
const channelCookieAttributes: {
    httpOnly: boolean;
    secure: boolean;
    sameSite: "none";
    partitioned: boolean;
    path: string;
}
channelCookieName
const channelCookieName: (workspaceId: string) => string
channelSignInPath
const channelSignInPath: (provider: string) => string