summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/slack-go/slack/oauth.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/slack-go/slack/oauth.go')
-rw-r--r--vendor/github.com/slack-go/slack/oauth.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/vendor/github.com/slack-go/slack/oauth.go b/vendor/github.com/slack-go/slack/oauth.go
index d9aca5f3..94b6546d 100644
--- a/vendor/github.com/slack-go/slack/oauth.go
+++ b/vendor/github.com/slack-go/slack/oauth.go
@@ -61,10 +61,12 @@ type OAuthV2ResponseEnterprise struct {
// OAuthV2ResponseAuthedUser ...
type OAuthV2ResponseAuthedUser struct {
- ID string `json:"id"`
- Scope string `json:"scope"`
- AccessToken string `json:"access_token"`
- TokenType string `json:"token_type"`
+ ID string `json:"id"`
+ Scope string `json:"scope"`
+ AccessToken string `json:"access_token"`
+ ExpiresIn int `json:"expires_in"`
+ RefreshToken string `json:"refresh_token"`
+ TokenType string `json:"token_type"`
}
// GetOAuthToken retrieves an AccessToken