aboutsummaryrefslogtreecommitdiff
path: root/fixture/client.plstore
diff options
context:
space:
mode:
authorHolger Dürer <me@hdurer.net>2018-02-28 20:48:24 +0000
committerHolger Dürer <me@hdurer.net>2018-03-02 20:18:22 +0000
commitb774f9e5295341a68171d94765320114d0b5b407 (patch)
tree5e055a479aa6af15e524bca313ab557c8130684e /fixture/client.plstore
parent3e9bdbf2eeecafd7bb0673f2709f816a740c7d61 (diff)
Keep track of to which instance secrets in plstore belong.
While testing out issue 149 (https://github.com/jdenen/mastodon.el/issues/149) I had problems due to stale client information being cached. With this change we store various pieces of information (the client information in the plstore and the auth tokens) in alists keyed by the instance url (and the plstore key contains the instance url as well to allow us to store data per instance).
Diffstat (limited to 'fixture/client.plstore')
-rw-r--r--fixture/client.plstore3
1 files changed, 2 insertions, 1 deletions
diff --git a/fixture/client.plstore b/fixture/client.plstore
index 3514ed9..e050018 100644
--- a/fixture/client.plstore
+++ b/fixture/client.plstore
@@ -1,2 +1,3 @@
;;; public entries -*- mode: plstore -*-
-(("mastodon" :client_id "id" :client_secret "secret"))
+(("mastodon-http://other.example" :client_id "id1" :client_secret "secret1")
+ ("mastodon-http://mastodon.example" :client_id "id2" :client_secret "secret2"))