basalt / auth/src / authRoutes
Function: authRoutes()
> authRoutes(options?): BasaltRoute[]
Defined in: auth/src/routes.ts:79
Ready-made auth routes — register them in fastifyPlugin({ routes }): register · login · refresh · logout · me, plus email verification (/auth/verify/request, /auth/verify) and password reset (/auth/password/forgot, /auth/password/reset). Every one is a plain BasaltRoute: replace or omit any of them freely.
Parameters
options?
AuthRoutesOptions = {}