aboutsummaryrefslogtreecommitdiff
path: root/test/mastodon-auth-tests.el
diff options
context:
space:
mode:
authorAbhiseck Paira <abhiseckpaira@disroot.org>2021-12-28 14:58:44 +0530
committerAbhiseck Paira <abhiseckpaira@disroot.org>2022-01-13 19:38:38 +0530
commit03365c8fbaac2c71e6bbfed731ae88d551175c2c (patch)
treea2ad3dd873f9425327ea14a08fe76ed963071a9d /test/mastodon-auth-tests.el
parent89add914c9e10979c271cdbb5f4af076ecbe41db (diff)
abstract Mastodon API request info
Mastodon API requires some info that needs to be passed during app registration and user authentication. Those info were hard coded into various functions. Introduce three variables (defvars): 1. mastodon-client-scopes 2. mastodon-client-website 3. mastodon-client-redirect-uri use them to abstract those info. Also refactor `mastodon-client--register' function in terms of these variables.
Diffstat (limited to 'test/mastodon-auth-tests.el')
0 files changed, 0 insertions, 0 deletions