@auth/express
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -11,3 +11,3 @@ /** | ||
* ## Installation | ||
* ```bash npm2yarn2pnpm | ||
* ```bash npm2yarn | ||
* npm install @auth/express | ||
@@ -47,3 +47,3 @@ * ``` | ||
* | ||
* You will also need to load the environment variables into the Node.js environment. You can do this using a package like [`dotenv`](https://www.npmjs.com/package/dotenv). | ||
* You will also need to load the environment variables into your runtime environment. For example in Node.js with a package like [`dotenv`](https://www.npmjs.com/package/dotenv) or `Deno.env` in Deno. | ||
* | ||
@@ -58,3 +58,3 @@ * ### Provider Configuration | ||
* ## Signing in and signing out | ||
* Once your application is mounted you can sign in or out by making requests to the following [REST API endpoints](https://next-auth.js.org/getting-started/rest-api) from your client-side code. | ||
* Once your application is mounted you can sign in or out by making requests to the following [REST API endpoints](https://authjs.dev/reference/core/types#authaction) from your client-side code. | ||
* NB: Make sure to include the `csrfToken` in the request body for all sign-in and sign-out requests. | ||
@@ -141,8 +141,2 @@ * | ||
* | ||
* ## Notes | ||
* | ||
* :::info | ||
* PRs to improve this documentation are welcome! See [this file](https://github.com/nextauthjs/next-auth/blob/main/packages/frameworks-express/src/lib/index.ts). | ||
* ::: | ||
* | ||
* @module @auth/express | ||
@@ -149,0 +143,0 @@ */ |
12
index.js
@@ -11,3 +11,3 @@ /** | ||
* ## Installation | ||
* ```bash npm2yarn2pnpm | ||
* ```bash npm2yarn | ||
* npm install @auth/express | ||
@@ -47,3 +47,3 @@ * ``` | ||
* | ||
* You will also need to load the environment variables into the Node.js environment. You can do this using a package like [`dotenv`](https://www.npmjs.com/package/dotenv). | ||
* You will also need to load the environment variables into your runtime environment. For example in Node.js with a package like [`dotenv`](https://www.npmjs.com/package/dotenv) or `Deno.env` in Deno. | ||
* | ||
@@ -58,3 +58,3 @@ * ### Provider Configuration | ||
* ## Signing in and signing out | ||
* Once your application is mounted you can sign in or out by making requests to the following [REST API endpoints](https://next-auth.js.org/getting-started/rest-api) from your client-side code. | ||
* Once your application is mounted you can sign in or out by making requests to the following [REST API endpoints](https://authjs.dev/reference/core/types#authaction) from your client-side code. | ||
* NB: Make sure to include the `csrfToken` in the request body for all sign-in and sign-out requests. | ||
@@ -141,8 +141,2 @@ * | ||
* | ||
* ## Notes | ||
* | ||
* :::info | ||
* PRs to improve this documentation are welcome! See [this file](https://github.com/nextauthjs/next-auth/blob/main/packages/frameworks-express/src/lib/index.ts). | ||
* ::: | ||
* | ||
* @module @auth/express | ||
@@ -149,0 +143,0 @@ */ |
{ | ||
"name": "@auth/express", | ||
"description": "Authentication for Express.", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "files": [ |
@@ -11,3 +11,3 @@ /** | ||
* ## Installation | ||
* ```bash npm2yarn2pnpm | ||
* ```bash npm2yarn | ||
* npm install @auth/express | ||
@@ -47,3 +47,3 @@ * ``` | ||
* | ||
* You will also need to load the environment variables into the Node.js environment. You can do this using a package like [`dotenv`](https://www.npmjs.com/package/dotenv). | ||
* You will also need to load the environment variables into your runtime environment. For example in Node.js with a package like [`dotenv`](https://www.npmjs.com/package/dotenv) or `Deno.env` in Deno. | ||
* | ||
@@ -58,3 +58,3 @@ * ### Provider Configuration | ||
* ## Signing in and signing out | ||
* Once your application is mounted you can sign in or out by making requests to the following [REST API endpoints](https://next-auth.js.org/getting-started/rest-api) from your client-side code. | ||
* Once your application is mounted you can sign in or out by making requests to the following [REST API endpoints](https://authjs.dev/reference/core/types#authaction) from your client-side code. | ||
* NB: Make sure to include the `csrfToken` in the request body for all sign-in and sign-out requests. | ||
@@ -141,8 +141,2 @@ * | ||
* | ||
* ## Notes | ||
* | ||
* :::info | ||
* PRs to improve this documentation are welcome! See [this file](https://github.com/nextauthjs/next-auth/blob/main/packages/frameworks-express/src/lib/index.ts). | ||
* ::: | ||
* | ||
* @module @auth/express | ||
@@ -149,0 +143,0 @@ */ |
Sorry, the diff of this file is not supported yet
59019
980