branch: externals/auth-source-xoauth2-plugin
commit 991ef1751a31fb0157ccc16245903bf1743615ed
Author: Xiyue Deng <manp...@gmail.com>
Commit: Xiyue Deng <manp...@gmail.com>

    Update auth-source json example to be part of a list
---
 README.org | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

diff --git a/README.org b/README.org
index 08f6232ddd..e98dd76a5d 100644
--- a/README.org
+++ b/README.org
@@ -63,18 +63,22 @@ need to fill in the data between `<' and `>' based on your 
account
 settings):
 
 #+BEGIN_SRC js
-  {
-    "machine": "<your_imap_address_or_email>",
-    "login": "<your_email>",
-    "port": "imaps",
-    "auth": "xoauth2",
-    "auth-url": "https://accounts.google.com/o/oauth2/auth";,
-    "token-url": "https://accounts.google.com/o/oauth2/token";,
-    "client-id": "<the_client_id_from_your_app>",
-    "client-secret": "<the_client_secret_from_your_app>",
-    "redirect-uri": "https://oauth2.dance/";,
-    "scope": "https://mail.google.com";
-  }
+  [
+    ...
+    {
+      "machine": "<your_imap_address_or_email>",
+      "login": "<your_email>",
+      "port": "imaps",
+      "auth": "xoauth2",
+      "auth-url": "https://accounts.google.com/o/oauth2/auth";,
+      "token-url": "https://accounts.google.com/o/oauth2/token";,
+      "client-id": "<the_client_id_from_your_app>",
+      "client-secret": "<the_client_secret_from_your_app>",
+      "redirect-uri": "https://oauth2.dance/";,
+      "scope": "https://mail.google.com";
+    },
+    ...
+  ]
 #+END_SRC
 
 These information will be used by oauth2 to retrieve the access-token.

Reply via email to