Mercurial > public > pacobot
annotate auth/types.go @ 12:aaf85ae1f942
add very simple html template
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Thu, 20 Mar 2025 11:12:21 +0000 |
parents | e9df3bb010f4 |
children |
rev | line source |
---|---|
8 | 1 package auth |
2 | |
3 type Config struct { | |
4 ClientId string `json:"client_id"` | |
5 ClientSecret string `json:"client_secret"` | |
6 BroadcasterUserId string `json:"broadcaster_user_id"` | |
7 } | |
8 | |
12
aaf85ae1f942
add very simple html template
Dennis C. M. <dennis@denniscm.com>
parents:
8
diff
changeset
|
9 type User struct { |
8 | 10 Data []struct { |
11 Id string `json:"id"` | |
12 } `json:"data"` | |
13 } | |
14 | |
12
aaf85ae1f942
add very simple html template
Dennis C. M. <dennis@denniscm.com>
parents:
8
diff
changeset
|
15 type Auth struct { |
8 | 16 AccessToken string `json:"access_token"` |
17 RefreshToken string `json:"refresh_token"` | |
18 Scope []string `json:"scope"` | |
19 } |