{"library":"next-protected-auth","type":"library","category":null,"description":"Next Protected Auth is a JavaScript/TypeScript library designed to simplify the implementation of protected routes and authentication flows within Next.js applications. It provides a set of React components and hooks that abstract common authentication logic for login, logout, and auth callbacks, aiming to reduce boilerplate in Next.js projects. The current stable version is 2.0.450, indicating active maintenance with frequent patch releases, aligning with updates in the Next.js ecosystem. While not a full-fledged authentication provider like Auth.js (formerly NextAuth.js), it focuses specifically on the client-side integration of existing authentication systems with Next.js's routing and middleware for securing routes and managing user sessions. It differentiates itself by providing granular, component-based control over authentication UI and logic hooks.","language":"javascript","status":"active","version":"2.0.450","tags":["javascript","typescript"],"install":[{"cmd":"npm install next-protected-auth","imports":["import { NextAuthProtectedLogin } from 'next-protected-auth';","import { useNextAuthProtectedHandler } from 'next-protected-auth';","import { useNextAuthProtected } from 'next-protected-auth';","import { NextAuthProtectedCallback } from 'next-protected-auth';"]},{"cmd":"yarn add next-protected-auth","imports":[]},{"cmd":"pnpm add next-protected-auth","imports":[]}],"homepage":null,"github":"https://github.com/qlaffont/next-protected-auth","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/next-protected-auth","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/next-protected-auth/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Tue Jul 21","install_tag":null}}