document logging out

pull/285/head
halcy 2022-11-27 02:59:40 +02:00
rodzic e91cbd78aa
commit d51af603a2
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -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