mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-11 15:14:53 -05:00
* fix(security): restrict API key access on internal-only routes * test(security): update function execute tests for checkInternalAuth * updated agent handler * move session check higher in checkSessionOrInternalAuth * extracted duplicate code into helper for resolving user from jwt
7 lines
387 B
TypeScript
7 lines
387 B
TypeScript
export type { AnonymousSession } from './anonymous'
|
|
export { createAnonymousSession, ensureAnonymousUserExists } from './anonymous'
|
|
export { auth, getSession, signIn, signUp } from './auth'
|
|
export { ANONYMOUS_USER, ANONYMOUS_USER_ID } from './constants'
|
|
export type { AuthResult } from './hybrid'
|
|
export { checkHybridAuth, checkInternalAuth, checkSessionOrInternalAuth } from './hybrid'
|