comparison 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
comparison
equal deleted inserted replaced
11:6d91c612310a 12:aaf85ae1f942
4 ClientId string `json:"client_id"` 4 ClientId string `json:"client_id"`
5 ClientSecret string `json:"client_secret"` 5 ClientSecret string `json:"client_secret"`
6 BroadcasterUserId string `json:"broadcaster_user_id"` 6 BroadcasterUserId string `json:"broadcaster_user_id"`
7 } 7 }
8 8
9 type UserRes struct { 9 type User struct {
10 Data []struct { 10 Data []struct {
11 Id string `json:"id"` 11 Id string `json:"id"`
12 } `json:"data"` 12 } `json:"data"`
13 } 13 }
14 14
15 type AuthRes struct { 15 type Auth struct {
16 AccessToken string `json:"access_token"` 16 AccessToken string `json:"access_token"`
17 RefreshToken string `json:"refresh_token"` 17 RefreshToken string `json:"refresh_token"`
18 Scope []string `json:"scope"` 18 Scope []string `json:"scope"`
19 } 19 }