summaryrefslogtreecommitdiff
path: root/internal/oauth
diff options
context:
space:
mode:
Diffstat (limited to 'internal/oauth')
-rw-r--r--internal/oauth/oauth.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/oauth/oauth.go b/internal/oauth/oauth.go
index 79f4ebf..75a2e9f 100644
--- a/internal/oauth/oauth.go
+++ b/internal/oauth/oauth.go
@@ -82,11 +82,11 @@ type OAuthExchangeSession struct {
// Struct that defines the json format for /.well-known/vpn-user-portal"
type OAuthToken struct {
- Access string `json:"access_token"`
- Refresh string `json:"refresh_token"`
- Type string `json:"token_type"`
- Expires int64 `json:"expires_in"`
- ExpiredTimestamp time.Time `json:"expires_in_timestamp"`
+ Access string `json:"access_token"`
+ Refresh string `json:"refresh_token"`
+ Type string `json:"token_type"`
+ Expires int64 `json:"expires_in"`
+ ExpiredTimestamp time.Time `json:"expires_in_timestamp"`
}
// Gets an authorized HTTP client by obtaining refresh and access tokens