feat: complete auth

This commit is contained in:
Rogee
2024-11-27 20:58:41 +08:00
parent e4b9cc5f26
commit 301879ca39
10 changed files with 380 additions and 54 deletions

View File

@@ -12,5 +12,5 @@ func (r *Response) Error() error {
type AccessTokenResponse struct {
AccessToken string `json:"access_token"`
ExpiresIn int `json:"expires_in"`
ExpiresIn int `json:"expires_in"` // seconds
}