added simkl login to backend
This commit is contained in:
16
SimklTypes.go
Normal file
16
SimklTypes.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package main
|
||||
|
||||
type SimklJWT struct {
|
||||
TokenType string `json:"token_type"`
|
||||
AccessToken string `json:"access_token"`
|
||||
Scope string `json:"scope"`
|
||||
}
|
||||
|
||||
type SimklUser struct {
|
||||
Data struct {
|
||||
Viewer struct {
|
||||
ID int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
} `json:"Viewer"`
|
||||
} `json:"data"`
|
||||
}
|
||||
Reference in New Issue
Block a user