Mercurial > public > pacobot
comparison auth/types.go @ 8:e9df3bb010f4
fix issues
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Thu, 13 Mar 2025 17:41:42 +0000 |
parents | |
children | aaf85ae1f942 |
comparison
equal
deleted
inserted
replaced
7:a8aab75f68c9 | 8:e9df3bb010f4 |
---|---|
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 | |
9 type UserRes struct { | |
10 Data []struct { | |
11 Id string `json:"id"` | |
12 } `json:"data"` | |
13 } | |
14 | |
15 type AuthRes struct { | |
16 AccessToken string `json:"access_token"` | |
17 RefreshToken string `json:"refresh_token"` | |
18 Scope []string `json:"scope"` | |
19 } |