/// /// import { SSXAuthenticated } from './middleware'; import { SSXServerRoutes } from '@spruceid/ssx-core'; import { SSXServerBaseClass } from '@spruceid/ssx-core/server'; /** * This middleware function has two key functions: * 1. It provides 3 endpoints for the client to hit: /ssx-nonce, /ssx-login, and /ssx-logout. These endpoints are used to authenticate the SIWE message and issue sessions. * 2. It provides a middleware function that can be used to authenticate session. The middleware then exposes the authenticated session's data via the `req.ssx` property. * * @param ssx - The SSX server instance. */ declare const SSXExpressMiddleware: (ssx: SSXServerBaseClass, routes?: SSXServerRoutes) => import("express").RequestHandler>[]; export { SSXExpressMiddleware, SSXAuthenticated }; //# sourceMappingURL=index.d.ts.map