Skip to content

Graphorin API reference v0.4.0


Graphorin API reference / @graphorin/server / / createAuthRoutes

Function: createAuthRoutes()

ts
function createAuthRoutes(deps): Hono<{
  Variables: ServerVariables;
}>;

Defined in: packages/server/src/routes/auth.ts:39

Build the auth router. The router is mounted at the same base path as the rest of the REST surface (defaults to /v1).

Parameters

ParameterType
depsAuthRoutesDeps

Returns

Hono<{ Variables: ServerVariables; }>

Stable