added simkl login to backend

This commit is contained in:
2024-07-30 12:59:06 -04:00
parent c6972ad765
commit 237958cce5
6 changed files with 256 additions and 0 deletions

16
SimklTypes.go Normal file
View 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"`
}