UNPKG

@builder.io/qwik

Version:

An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.

9 lines (7 loc) 211 B
import { QwikAuth$ } from "@auth/qwik"; import GitHub from "@auth/qwik/providers/github"; export const { onRequest, useSession, useSignIn, useSignOut } = QwikAuth$( () => ({ providers: [GitHub], }), );