From d51af603a286199f6e21b803e002af082a4f598c Mon Sep 17 00:00:00 2001 From: halcy Date: Sun, 27 Nov 2022 02:59:40 +0200 Subject: document logging out --- docs/index.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ---------------------------------------- Before you can use the Mastodon API, you have to register your application (which gets you a client key and client secret) -and then log in (which gets you an access token). These functions +and then log in (which gets you an access token) and out (revoking +the access token you are logged in with). These functions allow you to do those things. Additionally, it is also possible to programmatically register a new user. @@ -980,6 +981,7 @@ is specified, Mastodon.py defaults to https. .. automethod:: Mastodon.log_in .. _auth_request_url(): .. automethod:: Mastodon.auth_request_url +.. automedhod:: Mastodon.revoke_access_token .. automethod:: Mastodon.create_account .. automethod:: Mastodon.email_resend_confirmation -- cgit v1.2.3