This commit is contained in:
2025-08-27 11:58:01 -07:00
parent f24d21033a
commit f4b9f350ae
25 changed files with 2184 additions and 485 deletions

12
internal/auth/types.go Normal file
View File

@@ -0,0 +1,12 @@
package auth
import "time"
// Token represents OAuth2 tokens
type Token struct {
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
ExpiresIn int `json:"expires_in"`
TokenType string `json:"token_type"`
Expiry time.Time `json:"expiry"`
}