diff options
author | Sean Allred <code@seanallred.com> | 2014-11-17 08:45:09 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-11-17 08:45:09 -0500 |
commit | 9df98091a366a3b1585ba52a21b0261b314ea8bd (patch) | |
tree | 1cef96fccf00072a0d76cfb2ad76051a59993a17 /sx-auth.el | |
parent | 1a843499ae1ebc4ec56cfb27f79779293696cb2c (diff) |
Documentation -- part one
Pushing this change to continue work elsewhere.
Diffstat (limited to 'sx-auth.el')
-rw-r--r-- | sx-auth.el | 21 |
1 files changed, 20 insertions, 1 deletions
@@ -46,7 +46,26 @@ what you are doing!") Authentication is required to read your personal data (such as notifications) and to write with the API (asking and answering -questions)." +questions). + +When this function is called, `browse-url' is used to send the +user to an authorization page managed by StackExchange. The +following privileges are requested: + +* read_inbox + use SX to manage and visit items in your inbox + +* write_acesss + write comments, ask questions, and post answers on your + behalf + +* no_expiry + do not pester you to reauthorize again + +After authorization with StackExchange, the user is then +redirected to a website managed by SX. The access token required +to use authenticated methods is included in the hash (which is +parsed and displayed prominently on the page)." (interactive) (setq sx-auth-access-token |