import { discordAuthenticationRoutes } from "./discord.js";
import { redditAuthenticationRoutes } from "./reddit.js";
import { authsignalAuthenticationRoutes } from "./authsignal.js";
import { logoutRoutes } from "./logout.js";
import { webauthnRoutes } from "./webauthn.js";
import { anonymousRoutes } from "./anonymous.js";
export async function authenticationRoutes(fastify) {
    async function routes(fastify) {
        fastify.register(discordAuthenticationRoutes);
        fastify.register(redditAuthenticationRoutes);
        fastify.register(authsignalAuthenticationRoutes);
        fastify.register(webauthnRoutes);
        fastify.register(logoutRoutes);
        fastify.register(anonymousRoutes);
    }
    fastify.register(routes, {
        prefix: "/authentication",
    });
}
//# sourceMappingURL=index.js.map