next-auth-client
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "next-auth-client", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "A client for the next-auth module", | ||
"repository": "https://github.com/iaincollins/next-auth-client.git", | ||
"main": "dist/bundle.js", | ||
@@ -6,0 +7,0 @@ "scripts": { |
# Next Auth Client | ||
This a client for an upcoming module called `next-auth`. | ||
This a isometric session library for the [next-auth](https://www.npmjs.com/package/next-auth) module. | ||
It is an isometric library designed for use with React. | ||
NextAuth is library for adding authentication to Next.js projects. | ||
You can use it in Next.js projects to add authentication to your site. | ||
## Example usage | ||
```` | ||
````javascript | ||
import React from 'react' | ||
import { Session } from 'next-auth-client' | ||
import { NextAuth } from 'next-auth-client' | ||
@@ -18,3 +16,3 @@ export default class extends React.Component { | ||
return { | ||
session: await Session.init({req}) | ||
session: await NextAuth.init({req}) | ||
} | ||
@@ -40,4 +38,2 @@ } | ||
Additional usage information and examples will follow once the `next-auth` module is live. | ||
-- January 2018 | ||
See [next-auth](https://www.npmjs.com/package/next-auth) for more information or [nextjs-starter](https://nextjs-starter.now.sh) for a working demo. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
34701
7
37