summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortastytea2020-11-13 13:33:24 +0100
committertastytea2020-11-13 13:33:24 +0100
commit4da6929392efa6987acc9902010d19b6568515f3 (patch)
treea005000a603465510a2ee898b5c477d80639632e
parent24cb2d523d631f752789f2d54b951217b2c5aa20 (diff)
downloadmastodonpp-4da6929392efa6987acc9902010d19b6568515f3.tar
mastodonpp-4da6929392efa6987acc9902010d19b6568515f3.tar.gz
mastodonpp-4da6929392efa6987acc9902010d19b6568515f3.zip
Add note about scopes in documentation for ObtainToken::step_1().
-rw-r--r--include/instance.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/instance.hpp b/include/instance.hpp
index 3a0e2a3..3bcbaa3 100644
--- a/include/instance.hpp
+++ b/include/instance.hpp
@@ -271,6 +271,9 @@ public:
* The `body` of the returned @link answer_type answer @endlink
* contains only the URI, not the whole JSON response.
*
+ * Note that the required scopes may be different between Mastodon and
+ * other implementations, like Pleroma.
+ *
* @param client_name The name of your application.
* @param scopes Space separated list of scopes. Defaults to
* “read” if empty.