aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-27 02:59:40 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-27 02:59:40 +0200
commitd51af603a286199f6e21b803e002af082a4f598c (patch)
tree5ef121a635415dcb811f73d09fad0bcfdcdea63b
parente91cbd78aac85cdc3d041204c470faff4e1fe93e (diff)
downloadmastodon.py-d51af603a286199f6e21b803e002af082a4f598c.tar.gz
document logging out
-rw-r--r--docs/index.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/index.rst b/docs/index.rst
index e7d52dc..4db2d7e 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -955,7 +955,8 @@ App registration and user authentication
955---------------------------------------- 955----------------------------------------
956Before you can use the Mastodon API, you have to register your 956Before you can use the Mastodon API, you have to register your
957application (which gets you a client key and client secret) 957application (which gets you a client key and client secret)
958and then log in (which gets you an access token). These functions 958and then log in (which gets you an access token) and out (revoking
959the access token you are logged in with). These functions
959allow you to do those things. Additionally, it is also possible 960allow you to do those things. Additionally, it is also possible
960to programmatically register a new user. 961to programmatically register a new user.
961 962
@@ -980,6 +981,7 @@ is specified, Mastodon.py defaults to https.
980.. automethod:: Mastodon.log_in 981.. automethod:: Mastodon.log_in
981.. _auth_request_url(): 982.. _auth_request_url():
982.. automethod:: Mastodon.auth_request_url 983.. automethod:: Mastodon.auth_request_url
984.. automedhod:: Mastodon.revoke_access_token
983.. automethod:: Mastodon.create_account 985.. automethod:: Mastodon.create_account
984.. automethod:: Mastodon.email_resend_confirmation 986.. automethod:: Mastodon.email_resend_confirmation
985 987
Powered by cgit v1.2.3 (git 2.41.0)