branch: externals/url-http-oauth-demo commit 68dd6973b240ba98bc11b9be60b58ddb7d4a9503 Author: Thomas Fitzsimmons <fitz...@fitzsim.org> Commit: Thomas Fitzsimmons <fitz...@fitzsim.org>
Update comments * url-http-oauth-demo.el: Update some comments. --- url-http-oauth-demo.el | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/url-http-oauth-demo.el b/url-http-oauth-demo.el index 9b10120340..b6d9a2c9bd 100644 --- a/url-http-oauth-demo.el +++ b/url-http-oauth-demo.el @@ -101,29 +101,29 @@ ;;; Code: (require 'url-http-oauth) -;;; Tell Emacs that the URL "https://meta.sr.ht/query", with -;;; client-identifier "107ba4a9-2a96-4420-8818-84ec1f112405", uses -;;; OAuth 2.0 for authentication and authorization. +;;; Tell Emacs that the URL "https://meta.sr.ht/query" uses OAuth 2.0 +;;; for authentication and authorization. ;;;###autoload (url-http-oauth-interpose - '(;; This is the client identifier, which can be generated by the - ;; user, or by the Emacs library developer, at - ;; "https://meta.sr.ht/oauth2/client-registration". - ("client-identifier" . "107ba4a9-2a96-4420-8818-84ec1f112405") - ;; This is the URL at which the `url-http-oauth-demo' package will - ;; access resources. Everything that follows is for authentication - ;; and authorization to satisfy OAuth 2.0 requirements. + '(;; The client identifier. Replace + ;; "00000000-0000-0000-0000-000000000000" with a new client + ;; identifier generated by the user, or by the Emacs library + ;; developer, at "https://meta.sr.ht/oauth2/client-registration". + ("client-identifier" . "00000000-0000-0000-0000-000000000000") + ;; The URL at which the `url-http-oauth-demo' package will access + ;; resources. Everything that follows is for authentication and + ;; authorization to satisfy OAuth 2.0 requirements. ("resource-url" . "https://meta.sr.ht/query") - ;; These are the authorization and token endpoints, published in + ;; The authorization and token endpoints, published in ;; "https://man.sr.ht/meta.sr.ht/oauth.md". There is no way to ;; autodiscover them from "https://meta.sr.ht/query". ("authorization-endpoint" . "https://meta.sr.ht/oauth2/authorize") ("access-token-endpoint" . "https://meta.sr.ht/oauth2/access-token") - ;; This is the list of features to which Emacs is requesting the - ;; server grant it access. + ;; The list of features to which Emacs is requesting the server + ;; grant it access. ("scope" . "meta.sr.ht/PROFILE:RO") - ;; This is the client secret, which will be generated as part of - ;; client registration, at + ;; The client secret, which will be generated as part of client + ;; registration, at ;; "https://meta.sr.ht/oauth2/client-registration". If the user ;; generates the client secret, they should note it down. If the ;; Emacs library developer generates it, they should make it