diff options
author | Abhiseck Paira <abhiseckpaira@disroot.org> | 2021-12-28 14:58:44 +0530 |
---|---|---|
committer | Abhiseck Paira <abhiseckpaira@disroot.org> | 2022-01-13 19:38:38 +0530 |
commit | 03365c8fbaac2c71e6bbfed731ae88d551175c2c (patch) | |
tree | a2ad3dd873f9425327ea14a08fe76ed963071a9d /test/fixture | |
parent | 89add914c9e10979c271cdbb5f4af076ecbe41db (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/fixture')
0 files changed, 0 insertions, 0 deletions