├── nest.js ├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── .vscode │ └── settings.json ├── Dockerfile ├── README.md ├── api.http ├── docker-compose.yaml ├── entrypoint.sh ├── generate-pass.js ├── jwt.ts ├── nest-cli.json ├── package-lock.json ├── package.json ├── src │ ├── app.controller.spec.ts │ ├── app.controller.ts │ ├── app.module.ts │ ├── app.service.ts │ ├── auth │ │ ├── auth.module.ts │ │ ├── auth │ │ │ ├── auth.controller.spec.ts │ │ │ ├── auth.controller.ts │ │ │ ├── auth.service.spec.ts │ │ │ ├── auth.service.ts │ │ │ └── jwt.guard.ts │ │ ├── jwt-strategy │ │ │ ├── jwt-strategy.service.spec.ts │ │ │ └── jwt-strategy.service.ts │ │ ├── role.decorator.ts │ │ ├── role.guard.spec.ts │ │ └── role.guard.ts │ └── main.ts ├── test │ ├── app.e2e-spec.ts │ └── jest-e2e.json ├── tsconfig.build.json └── tsconfig.json └── next.js ├── .eslintrc.json ├── .gitignore ├── .vscode └── settings.json ├── Dockerfile ├── README.md ├── docker-compose.yaml ├── entrypoint.sh ├── jwt.drawio ├── next-env.d.ts ├── next.config.js ├── package-lock.json ├── package.json ├── public ├── favicon.ico └── vercel.svg ├── src ├── hof │ └── withAuth.tsx ├── hooks │ └── useAuthHttp.ts ├── pages │ ├── _app.tsx │ ├── api │ │ └── hello.ts │ ├── index.tsx │ ├── login.tsx │ ├── pagina1.tsx │ └── private.tsx ├── styles │ └── LoginPage.module.css └── util │ ├── auth.ts │ ├── cookies.ts │ └── http.ts └── tsconfig.json /nest.js/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/.eslintrc.js -------------------------------------------------------------------------------- /nest.js/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/.gitignore -------------------------------------------------------------------------------- /nest.js/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/.prettierrc -------------------------------------------------------------------------------- /nest.js/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/.vscode/settings.json -------------------------------------------------------------------------------- /nest.js/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/Dockerfile -------------------------------------------------------------------------------- /nest.js/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/README.md -------------------------------------------------------------------------------- /nest.js/api.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/api.http -------------------------------------------------------------------------------- /nest.js/docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/docker-compose.yaml -------------------------------------------------------------------------------- /nest.js/entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/entrypoint.sh -------------------------------------------------------------------------------- /nest.js/generate-pass.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/generate-pass.js -------------------------------------------------------------------------------- /nest.js/jwt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/jwt.ts -------------------------------------------------------------------------------- /nest.js/nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/nest-cli.json -------------------------------------------------------------------------------- /nest.js/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/package-lock.json -------------------------------------------------------------------------------- /nest.js/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/package.json -------------------------------------------------------------------------------- /nest.js/src/app.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/src/app.controller.spec.ts -------------------------------------------------------------------------------- /nest.js/src/app.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/src/app.controller.ts -------------------------------------------------------------------------------- /nest.js/src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/src/app.module.ts -------------------------------------------------------------------------------- /nest.js/src/app.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/src/app.service.ts -------------------------------------------------------------------------------- /nest.js/src/auth/auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/src/auth/auth.module.ts -------------------------------------------------------------------------------- /nest.js/src/auth/auth/auth.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/src/auth/auth/auth.controller.spec.ts -------------------------------------------------------------------------------- /nest.js/src/auth/auth/auth.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/src/auth/auth/auth.controller.ts -------------------------------------------------------------------------------- /nest.js/src/auth/auth/auth.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/src/auth/auth/auth.service.spec.ts -------------------------------------------------------------------------------- /nest.js/src/auth/auth/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/src/auth/auth/auth.service.ts -------------------------------------------------------------------------------- /nest.js/src/auth/auth/jwt.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/src/auth/auth/jwt.guard.ts -------------------------------------------------------------------------------- /nest.js/src/auth/jwt-strategy/jwt-strategy.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/src/auth/jwt-strategy/jwt-strategy.service.spec.ts -------------------------------------------------------------------------------- /nest.js/src/auth/jwt-strategy/jwt-strategy.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/src/auth/jwt-strategy/jwt-strategy.service.ts -------------------------------------------------------------------------------- /nest.js/src/auth/role.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/src/auth/role.decorator.ts -------------------------------------------------------------------------------- /nest.js/src/auth/role.guard.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/src/auth/role.guard.spec.ts -------------------------------------------------------------------------------- /nest.js/src/auth/role.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/src/auth/role.guard.ts -------------------------------------------------------------------------------- /nest.js/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/src/main.ts -------------------------------------------------------------------------------- /nest.js/test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /nest.js/test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/test/jest-e2e.json -------------------------------------------------------------------------------- /nest.js/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/tsconfig.build.json -------------------------------------------------------------------------------- /nest.js/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/nest.js/tsconfig.json -------------------------------------------------------------------------------- /next.js/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /next.js/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/.gitignore -------------------------------------------------------------------------------- /next.js/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/.vscode/settings.json -------------------------------------------------------------------------------- /next.js/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/Dockerfile -------------------------------------------------------------------------------- /next.js/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/README.md -------------------------------------------------------------------------------- /next.js/docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/docker-compose.yaml -------------------------------------------------------------------------------- /next.js/entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/entrypoint.sh -------------------------------------------------------------------------------- /next.js/jwt.drawio: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/jwt.drawio -------------------------------------------------------------------------------- /next.js/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/next-env.d.ts -------------------------------------------------------------------------------- /next.js/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/next.config.js -------------------------------------------------------------------------------- /next.js/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/package-lock.json -------------------------------------------------------------------------------- /next.js/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/package.json -------------------------------------------------------------------------------- /next.js/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/public/favicon.ico -------------------------------------------------------------------------------- /next.js/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/public/vercel.svg -------------------------------------------------------------------------------- /next.js/src/hof/withAuth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/src/hof/withAuth.tsx -------------------------------------------------------------------------------- /next.js/src/hooks/useAuthHttp.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/src/hooks/useAuthHttp.ts -------------------------------------------------------------------------------- /next.js/src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/src/pages/_app.tsx -------------------------------------------------------------------------------- /next.js/src/pages/api/hello.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/src/pages/api/hello.ts -------------------------------------------------------------------------------- /next.js/src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/src/pages/index.tsx -------------------------------------------------------------------------------- /next.js/src/pages/login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/src/pages/login.tsx -------------------------------------------------------------------------------- /next.js/src/pages/pagina1.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/src/pages/pagina1.tsx -------------------------------------------------------------------------------- /next.js/src/pages/private.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/src/pages/private.tsx -------------------------------------------------------------------------------- /next.js/src/styles/LoginPage.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/src/styles/LoginPage.module.css -------------------------------------------------------------------------------- /next.js/src/util/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/src/util/auth.ts -------------------------------------------------------------------------------- /next.js/src/util/cookies.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/src/util/cookies.ts -------------------------------------------------------------------------------- /next.js/src/util/http.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/src/util/http.ts -------------------------------------------------------------------------------- /next.js/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeedu/live-next-auth/HEAD/next.js/tsconfig.json --------------------------------------------------------------------------------