From 3f20290ee80edc36885774065beab2cf964ff848 Mon Sep 17 00:00:00 2001 From: Ramon Henrique Ornelas Date: Thu, 28 Sep 2017 23:02:38 -0300 Subject: [PATCH] docs: uplink headers authorization --- wiki/uplinks.md | 1 + 1 file changed, 1 insertion(+) diff --git a/wiki/uplinks.md b/wiki/uplinks.md index d9a190804..f1cc3e854 100644 --- a/wiki/uplinks.md +++ b/wiki/uplinks.md @@ -28,6 +28,7 @@ maxage | string | No |10m | all | limit maximun failure request | 2m fail_timeout | string | No |10m | all | defines max time when a request becomes a failure | 5m max_fails | number | No |2 | all | limit maximun failure request | 2 cache | boolean | No |[true,false] | >= 2.1 | avoid cache tarballs | true +auth | list | No | type: [bearer,basic], [token: "token",token_env: [true,\]] | >= 2.5 | assigns the header 'Authorization' see: http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules | headers | list | No | authorization: "Basic YourBase64EncodedCredentials==" | all | list of custom headers for the uplink |