-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
109 lines (109 loc) · 3.02 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"global": {
"debug": true,
"debug_folded": true,
"appName": "BlueSkyAPP",
"appVersion": "1.0.0",
"refresh_dashboard": 15
},
"localhost": {
"root": "http://localhost/neocities/index.html"
},
"bluesky": {
"token_expiration_threshold": 10
},
"github": {
"repo": "https://github.com/PIPOGit/OAuthBluesky"
},
"dev_to": {
"post": "https://dev.to/pipodev/bluesky-oauth2-client-with-vanilla-javascript-1f6h"
},
"neocities": {
"client_id": "https://madrilenyer.neocities.org/bsky/oauth/client-metadata.json",
"redirect_uri": "https://madrilenyer.neocities.org/bsky/oauth/callback/",
"redirect_delay": 3,
"protocol": "http",
"hostname": "localhost",
"dashboard": "/neocities/dashboard.html",
"pathname": "/neocities/oauth/callback.html"
},
"localStorageKeys": {
"BSKYDATA": "BSKYDATA",
"LOGOUT": "LOGOUT",
"crypto": {
"jwk": "jwk"
},
"request": {
"access_token": "access_token",
"authentication": "authentication",
"dpop_nonce": "dpop_nonce",
"refresh_token": "refresh_token"
},
"user": {
"handle": "user_handle",
"profile": "user_profile"
}
},
"api": {
"bluesky": {
"profile": {
"url": "https://bsky.app/profile/"
},
"XRPC": {
"public": "https://public.api.bsky.app/xrpc",
"url": "https://bsky.social/xrpc",
"api": {
"describeRepo": "/com.atproto.repo.describeRepo",
"getAccountInfo": "/com.atproto.admin.getAccountInfo",
"getBlocks": "/app.bsky.graph.getBlocks",
"getFollowers": "/app.bsky.graph.getFollowers",
"getFollows": "/app.bsky.graph.getFollows",
"getKnownFollowers": "/app.bsky.graph.getKnownFollowers",
"getLists": "/app.bsky.graph.getLists",
"getMutes": "/app.bsky.graph.getMutes",
"getPosts": "/app.bsky.feed.getPosts",
"getProfile": "/app.bsky.actor.getProfile",
"getProfiles": "/app.bsky.actor.getProfiles",
"getRelationships": "/app.bsky.graph.getRelationships",
"getTrendingTopics": "/app.bsky.unspecced.getTrendingTopics",
"getUnreadCount": "/app.bsky.notification.getUnreadCount",
"listNotifications": "/app.bsky.notification.listNotifications",
"resolveHandle": "/com.atproto.identity.resolveHandle"
}
},
"plc": {
"docs": "https://web.plc.directory/api/redoc",
"url": "https://plc.directory",
"api": {
"resolveDID": "/"
}
},
"pds": {
"api": {
"metadata": "/.well-known/oauth-protected-resource"
}
},
"authServer": {
"api": {
"discovery": "/.well-known/oauth-authorization-server"
},
"key": {
"auth": "authorization_endpoint",
"token": "token_endpoint",
"par": "pushed_authorization_request_endpoint",
"introspection": "introspection_endpoint"
}
}
},
"geo": {
"bdc": {
"rootUrl": "https://api-bdc.net",
"reverse-geocode-client": "/data/reverse-geocode-client"
},
"myIPio": {
"rootUrl": "https://api.my-ip.io",
"ip.json": "/v2/ip.json"
}
}
}
}