diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-27 02:59:40 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-27 02:59:40 +0200 |
commit | d51af603a286199f6e21b803e002af082a4f598c (patch) | |
tree | 5ef121a635415dcb811f73d09fad0bcfdcdea63b /docs | |
parent | e91cbd78aac85cdc3d041204c470faff4e1fe93e (diff) | |
download | mastodon.py-d51af603a286199f6e21b803e002af082a4f598c.tar.gz |
document logging out
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.rst | 4 |
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 | ---------------------------------------- |
956 | Before you can use the Mastodon API, you have to register your | 956 | Before you can use the Mastodon API, you have to register your |
957 | application (which gets you a client key and client secret) | 957 | application (which gets you a client key and client secret) |
958 | and then log in (which gets you an access token). These functions | 958 | and then log in (which gets you an access token) and out (revoking |
959 | the access token you are logged in with). These functions | ||
959 | allow you to do those things. Additionally, it is also possible | 960 | allow you to do those things. Additionally, it is also possible |
960 | to programmatically register a new user. | 961 | to 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 | ||