From cfd431b1046f7acb47113c615cde79be217c3bd7 Mon Sep 17 00:00:00 2001
From: m33m33 <m33@tok715.net>
Date: Mon, 17 Aug 2020 13:16:23 +0200
Subject: [PATCH] Added token app authentication method

---
 radiobot@my_bot@my_instance.conf | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 radiobot@my_bot@my_instance.conf

diff --git a/radiobot@my_bot@my_instance.conf b/radiobot@my_bot@my_instance.conf
new file mode 100644
index 0000000..d4be74d
--- /dev/null
+++ b/radiobot@my_bot@my_instance.conf
@@ -0,0 +1,15 @@
+# radiobot config file
+
+# auth_type: token or email
+# The prefered way is to create an app in the masdoton account, and create a dedicated id,secret,token trio for this bot
+auth_type: token
+
+# If you use a token auth_type, fill and uncomment this lines:
+#instance: something like mastodon.social
+#app_client_id: generated on the mastodon account development pannel + new app
+#app_client_secret: generated on the mastodon account development pannel + new app
+#app_access_token: generated on the mastodon account development pannel + new app
+
+# If you use an email auth_type, fill and uncomment this lines:
+#mastodon_email_account: the mastodon user email
+#mastodon_email_password: the mastoon user passwd
-- 
GitLab