document logging out

This commit is contained in:
halcy 2022-11-27 02:59:40 +02:00
parent e91cbd78aa
commit d51af603a2

View File

@ -955,7 +955,8 @@ App registration and user authentication
---------------------------------------- ----------------------------------------
Before you can use the Mastodon API, you have to register your Before you can use the Mastodon API, you have to register your
application (which gets you a client key and client secret) 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 allow you to do those things. Additionally, it is also possible
to programmatically register a new user. to programmatically register a new user.
@ -980,6 +981,7 @@ is specified, Mastodon.py defaults to https.
.. automethod:: Mastodon.log_in .. automethod:: Mastodon.log_in
.. _auth_request_url(): .. _auth_request_url():
.. automethod:: Mastodon.auth_request_url .. automethod:: Mastodon.auth_request_url
.. automedhod:: Mastodon.revoke_access_token
.. automethod:: Mastodon.create_account .. automethod:: Mastodon.create_account
.. automethod:: Mastodon.email_resend_confirmation .. automethod:: Mastodon.email_resend_confirmation