From 4a83d0bf67ad2794b054cbe2ccd769c8be5a3b9a Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Tue, 10 Oct 2023 15:04:49 +0200 Subject: [PATCH] Rename flows --- README.md | 32 ++++++++++++++++---------------- nodes/http-auth-cred.html | 4 ++-- nodes/http-auth-cred.js | 2 +- nodes/http-auth-file.html | 4 ++-- nodes/http-auth-file.js | 2 +- nodes/http-auth.html | 30 +++++++++++++++--------------- nodes/http-auth.js | 2 +- package.json | 8 ++++---- 8 files changed, 42 insertions(+), 42 deletions(-) diff --git a/README.md b/README.md index 76456c2..e000f9e 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # node-red-http-basic-auth -Node-RED node for HTTP Basic Auth. +[Node-RED](https://nodered.org/) node for HTTP Basic Auth. -This Node-RED module performs HTTP Basic authentication. -It is to be used in conjunction with an HTTP Input node. +This Node-RED module performs [HTTP Basic authentication](https://developer.mozilla.org/docs/Web/HTTP/Authentication). +It is to be used in conjunction with an [HTTP Input node](https://cookbook.nodered.org/http/create-an-http-endpoint). ![flow.png](images/flow.png) @@ -13,25 +13,25 @@ It is to be used in conjunction with an HTTP Input node. There are three type of configuration: - 1. File: the user credentials are stored in a file. (mutliple credentials) - 2. Shared: credentials shared which multiple nodes. (one credential) - 3. Not Shared: each node has it's own credentials. (one credential) +1. *File*: the user credentials are stored in a file. (multiple credentials) +2. *Shared*: credentials shared which multiple nodes. (one credential) +3. *Not Shared*: each node has it's own credentials. (one credential) With all three config types you must specify the following: - - Realm: what realm will be used with this node - - Hashed: are the passwords in the Password field or in the credentials file hashed. +- *Realm*: what realm will be used with this node +- *Hashed*: are the passwords in the *Password* field or in the credentials file hashed. -With Shared and Not Shared config types you must specify the following: +With *Shared* and *Not Shared* config types you must specify the following: - - Username: the username - - Password: the password - If you entered a hashed password you must check the Hashed checkbox. +- *Username*: the username +- *Password*: the password. + If you entered a hashed password you must check the *Hashed* checkbox. -With File config type you must specify the following: +With *File* config type you must specify the following: - - File: location of the file containing the credentials relative to the presently working directory - If the password are hashed you must check the Hashed checkbox. +- File: location of the file containing the credentials relative to the presently working directory. + If the password are hashed you must check the Hashed checkbox. ### File Configuration @@ -43,5 +43,5 @@ With File config type you must specify the following: ## Credits -Forked from [endemecio02/node-red-contrib-httpauth](https://github.com/endemecio02/node-red-contrib-httpauth) (abandonned) +Forked from [endemecio02/node-red-contrib-httpauth](https://github.com/endemecio02/node-red-contrib-httpauth) (abandoned) by [Alexandre Alapetite](https://github.com/Alkarex) for the [Alexandra Institute](https://alexandra.dk/), October 2023. diff --git a/nodes/http-auth-cred.html b/nodes/http-auth-cred.html index 0192626..f191e6c 100644 --- a/nodes/http-auth-cred.html +++ b/nodes/http-auth-cred.html @@ -1,6 +1,6 @@ - - - -