Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
felixLam committed Jun 24, 2016
1 parent 8334fd4 commit 79d7b8b
Show file tree
Hide file tree
Showing 29 changed files with 0 additions and 30 deletions.
1 change: 0 additions & 1 deletion providers/amazon/amazon.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
}
return newToken, err
}

1 change: 0 additions & 1 deletion providers/bitbucket/bitbucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
}
return newToken, err
}

1 change: 0 additions & 1 deletion providers/box/box.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
}
return newToken, err
}

1 change: 0 additions & 1 deletion providers/cloudfoundry/cf.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
}
return newToken, err
}

1 change: 0 additions & 1 deletion providers/digitalocean/digitalocean.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
}
return newToken, err
}

1 change: 0 additions & 1 deletion providers/dropbox/dropbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
func (p *Provider) RefreshTokenAvailable() bool {
return false
}

1 change: 0 additions & 1 deletion providers/facebook/facebook.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
func (p *Provider) RefreshTokenAvailable() bool {
return false
}

1 change: 0 additions & 1 deletion providers/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
func (p *Provider) RefreshTokenAvailable() bool {
return false
}

1 change: 0 additions & 1 deletion providers/gitlab/gitlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
}
return newToken, err
}

1 change: 0 additions & 1 deletion providers/gplus/gplus.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,3 @@ func (p *Provider) SetPrompt(prompt ...string) {
}
p.prompt = oauth2.SetAuthURLParam("prompt", strings.Join(prompt, " "))
}

1 change: 0 additions & 1 deletion providers/heroku/heroku.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
}
return newToken, err
}

1 change: 0 additions & 1 deletion providers/influxcloud/influxcloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
func (p *Provider) RefreshTokenAvailable() bool {
return false
}

2 changes: 0 additions & 2 deletions providers/instagram/instagram.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,7 @@ func newConfig(p *Provider, scopes []string) *oauth2.Config {
func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
return nil, errors.New("Refresh token is not provided by instagram")
}

//RefreshTokenAvailable refresh token is not provided by instagram
func (p *Provider) RefreshTokenAvailable() bool {
return false
}

1 change: 0 additions & 1 deletion providers/lastfm/lastfm.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,4 +214,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
func (p *Provider) RefreshTokenAvailable() bool {
return false
}

1 change: 0 additions & 1 deletion providers/linkedin/linkedin.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
func (p *Provider) RefreshTokenAvailable() bool {
return false
}

1 change: 0 additions & 1 deletion providers/onedrive/onedrive.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
}
return newToken, err
}

1 change: 0 additions & 1 deletion providers/paypal/paypal.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
}
return newToken, err
}

1 change: 0 additions & 1 deletion providers/salesforce/salesforce.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
}
return newToken, err
}

1 change: 0 additions & 1 deletion providers/slack/slack.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,3 @@ func (p *Provider) RefreshTokenAvailable() bool {
func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
return nil, nil
}

1 change: 0 additions & 1 deletion providers/soundcloud/soundcloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
}
return newToken, err
}

1 change: 0 additions & 1 deletion providers/spotify/spotify.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
}
return newToken, err
}

1 change: 0 additions & 1 deletion providers/steam/steam.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
func (p *Provider) RefreshTokenAvailable() bool {
return false
}

1 change: 0 additions & 1 deletion providers/stripe/stripe.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
}
return newToken, err
}

1 change: 0 additions & 1 deletion providers/twitch/twitch.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
}
return newToken, err
}

1 change: 0 additions & 1 deletion providers/twitter/twitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
func (p *Provider) RefreshTokenAvailable() bool {
return false
}

1 change: 0 additions & 1 deletion providers/uber/uber.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
}
return newToken, err
}

1 change: 0 additions & 1 deletion providers/wepay/wepay.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {

return nil, nil
}

1 change: 0 additions & 1 deletion providers/yahoo/yahoo.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
}
return newToken, err
}

1 change: 0 additions & 1 deletion providers/yammer/yammer.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,3 @@ func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) {
func (p *Provider) RefreshTokenAvailable() bool {
return false
}

0 comments on commit 79d7b8b

Please sign in to comment.