diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-08-09 14:24:07 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-08-09 14:24:07 +0200 |
| commit | 196140a4cf34640ff963f2ae08dd135c3834f0d3 (patch) | |
| tree | aaed442d916a15acd26394c58b941cee050299f0 /internal/oauth | |
| parent | 9c7d9958132bcea0aa5ff6ab4aaec67c73087408 (diff) | |
Formatting: Run gofumpt
Diffstat (limited to 'internal/oauth')
| -rw-r--r-- | internal/oauth/oauth.go | 10 |
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 |
