Skip to content

Commit fde9e7b

Browse files
committed
Made descriptions more terse and reviewed all the company names
1 parent 4a1d3a6 commit fde9e7b

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed

endpoints/endpoints.go

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -11,187 +11,187 @@ import (
1111
"golang.org/x/oauth2"
1212
)
1313

14-
// Amazon provides endpoint for using OAuth2 to access Amazon.
14+
// Amazon is the endpoint for Amazon.
1515
var Amazon = oauth2.Endpoint{
1616
AuthURL: "https://www.amazon.com/ap/oa",
1717
TokenURL: "https://api.amazon.com/auth/o2/token",
1818
}
1919

20-
// Bitbucket provides endpoint for using OAuth2 to access Bitbucket.
20+
// Bitbucket is the endpoint for Bitbucket.
2121
var Bitbucket = oauth2.Endpoint{
2222
AuthURL: "https://bitbucket.org/site/oauth2/authorize",
2323
TokenURL: "https://bitbucket.org/site/oauth2/access_token",
2424
}
2525

26-
// Cern provides endpoint for using OAuth2 to access Cern.
26+
// Cern is the endpoint for CERN.
2727
var Cern = oauth2.Endpoint{
2828
AuthURL: "https://oauth.web.cern.ch/OAuth/Authorize",
2929
TokenURL: "https://oauth.web.cern.ch/OAuth/Token",
3030
}
3131

32-
// Facebook provides endpoint for using OAuth2 to access Facebook.
32+
// Facebook is the endpoint for Facebook.
3333
var Facebook = oauth2.Endpoint{
3434
AuthURL: "https://www.facebook.com/v3.2/dialog/oauth",
3535
TokenURL: "https://graph.facebook.com/v3.2/oauth/access_token",
3636
}
3737

38-
// Foursquare provides endpoint for using OAuth2 to access Foursquare.
38+
// Foursquare is the endpoint for Foursquare.
3939
var Foursquare = oauth2.Endpoint{
4040
AuthURL: "https://foursquare.com/oauth2/authorize",
4141
TokenURL: "https://foursquare.com/oauth2/access_token",
4242
}
4343

44-
// Fitbit provides endpoint for using OAuth2 to access Fitbit.
44+
// Fitbit is the endpoint for Fitbit.
4545
var Fitbit = oauth2.Endpoint{
4646
AuthURL: "https://www.fitbit.com/oauth2/authorize",
4747
TokenURL: "https://api.fitbit.com/oauth2/token",
4848
}
4949

50-
// GitHub provides endpoint for using OAuth2 to access Github.
50+
// GitHub is the endpoint for Github.
5151
var GitHub = oauth2.Endpoint{
5252
AuthURL: "https://github.com/login/oauth/authorize",
5353
TokenURL: "https://github.com/login/oauth/access_token",
5454
}
5555

56-
// GitLab provides endpoint for using OAuth2 to access Gitlab.
56+
// GitLab is the endpoint for GitLab.
5757
var GitLab = oauth2.Endpoint{
5858
AuthURL: "https://gitlab.com/oauth/authorize",
5959
TokenURL: "https://gitlab.com/oauth/token",
6060
}
6161

62-
// Google provides endpoint for using OAuth2 to access Google.
62+
// Google is the endpoint for Google.
6363
var Google = oauth2.Endpoint{
6464
AuthURL: "https://accounts.google.com/o/oauth2/auth",
6565
TokenURL: "https://oauth2.googleapis.com/token",
6666
}
6767

68-
// Heroku provides endpoint for using OAuth2 to access Heroku.
68+
// Heroku is the endpoint for Heroku.
6969
var Heroku = oauth2.Endpoint{
7070
AuthURL: "https://id.heroku.com/oauth/authorize",
7171
TokenURL: "https://id.heroku.com/oauth/token",
7272
}
7373

74-
// HipChat provides endpoint for using OAuth2 to access HipChat.
74+
// HipChat is the endpoint for HipChat.
7575
var HipChat = oauth2.Endpoint{
7676
AuthURL: "https://www.hipchat.com/users/authorize",
7777
TokenURL: "https://api.hipchat.com/v2/oauth/token",
7878
}
7979

80-
// Instagram provides endpoint for using OAuth2 to access Instagram.
80+
// Instagram is the endpoint for Instagram.
8181
var Instagram = oauth2.Endpoint{
8282
AuthURL: "https://api.instagram.com/oauth/authorize",
8383
TokenURL: "https://api.instagram.com/oauth/access_token",
8484
}
8585

86-
// Kakao provides endpoint for using OAuth2 to access Kakao.
87-
var Kakao = oauth2.Endpoint{
86+
// KaKao is the endpoint for KaKao.
87+
var KaKao = oauth2.Endpoint{
8888
AuthURL: "https://kauth.kakao.com/oauth/authorize",
8989
TokenURL: "https://kauth.kakao.com/oauth/token",
9090
}
9191

92-
// Linkedin provides endpoint for using OAuth2 to access Linkedin.
93-
var Linkedin = oauth2.Endpoint{
92+
// LinkedIn is the endpoint for LinkedIn.
93+
var LinkedIn = oauth2.Endpoint{
9494
AuthURL: "https://www.linkedin.com/oauth/v2/authorization",
9595
TokenURL: "https://www.linkedin.com/oauth/v2/accessToken",
9696
}
9797

98-
// Mailchimp provides endpoint for using OAuth2 to access Mailchimp.
98+
// Mailchimp is the endpoint for Mailchimp.
9999
var Mailchimp = oauth2.Endpoint{
100100
AuthURL: "https://login.mailchimp.com/oauth2/authorize",
101101
TokenURL: "https://login.mailchimp.com/oauth2/token",
102102
}
103103

104-
// Mailru provides endpoint for using OAuth2 to access Mailru.
104+
// Mailru is the endpoint for Mail.Ru.
105105
var Mailru = oauth2.Endpoint{
106106
AuthURL: "https://o2.mail.ru/login",
107107
TokenURL: "https://o2.mail.ru/token",
108108
}
109109

110-
// MediaMath provides endpoint for using OAuth2 to access MediaMath.
110+
// MediaMath is the endpoint for MediaMath.
111111
var MediaMath = oauth2.Endpoint{
112112
AuthURL: "https://api.mediamath.com/oauth2/v1.0/authorize",
113113
TokenURL: "https://api.mediamath.com/oauth2/v1.0/token",
114114
}
115115

116-
// MediamathSandbox provides endpoint for using OAuth2 to access Mediamath Sandbox.
117-
var MediamathSandbox = oauth2.Endpoint{
116+
// MediaMathSandbox is the endpoint for MediaMath Sandbox.
117+
var MediaMathSandbox = oauth2.Endpoint{
118118
AuthURL: "https://t1sandbox.mediamath.com/oauth2/v1.0/authorize",
119119
TokenURL: "https://t1sandbox.mediamath.com/oauth2/v1.0/token",
120120
}
121121

122-
// Microsoft provides endpoint for using OAuth2 to access Microsoft.
122+
// Microsoft is the endpoint for Microsoft.
123123
var Microsoft = oauth2.Endpoint{
124124
AuthURL: "https://login.live.com/oauth20_authorize.srf",
125125
TokenURL: "https://login.live.com/oauth20_token.srf",
126126
}
127127

128-
// Nokiahealth provides endpoint for using OAuth2 to access Nokiahealth.
129-
var Nokiahealth = oauth2.Endpoint{
128+
// NokiaHealth is the endpoint for Nokia Health.
129+
var NokiaHealth = oauth2.Endpoint{
130130
AuthURL: "https://account.health.nokia.com/oauth2_user/authorize2",
131131
TokenURL: "https://account.health.nokia.com/oauth2/token",
132132
}
133133

134-
// Odnoklassniki provides endpoint for using OAuth2 to access Odnoklassniki.
134+
// Odnoklassniki is the endpoint for Odnoklassniki.
135135
var Odnoklassniki = oauth2.Endpoint{
136136
AuthURL: "https://www.odnoklassniki.ru/oauth/authorize",
137137
TokenURL: "https://api.odnoklassniki.ru/oauth/token.do",
138138
}
139139

140-
// Paypal provides endpoint for using OAuth2 to access Paypal.
141-
var Paypal = oauth2.Endpoint{
140+
// PayPal is the endpoint for PayPal.
141+
var PayPal = oauth2.Endpoint{
142142
AuthURL: "https://www.paypal.com/webapps/auth/protocol/openidconnect/v1/authorize",
143143
TokenURL: "https://api.paypal.com/v1/identity/openidconnect/tokenservice",
144144
}
145145

146-
// PaypalSandbox provides endpoint for using OAuth2 to access Paypal Sandbox.
147-
var PaypalSandbox = oauth2.Endpoint{
146+
// PayPalSandbox is the endpoint for PayPal Sandbox.
147+
var PayPalSandbox = oauth2.Endpoint{
148148
AuthURL: "https://www.sandbox.paypal.com/webapps/auth/protocol/openidconnect/v1/authorize",
149149
TokenURL: "https://api.sandbox.paypal.com/v1/identity/openidconnect/tokenservice",
150150
}
151151

152-
// Slack provides endpoint for using OAuth2 to access Slack.
152+
// Slack is the endpoint for Slack.
153153
var Slack = oauth2.Endpoint{
154154
AuthURL: "https://slack.com/oauth/authorize",
155155
TokenURL: "https://slack.com/api/oauth.access",
156156
}
157157

158-
// Spotify provides endpoint for using OAuth2 to access Spotify.
158+
// Spotify is the endpoint for Spotify.
159159
var Spotify = oauth2.Endpoint{
160160
AuthURL: "https://accounts.spotify.com/authorize",
161161
TokenURL: "https://accounts.spotify.com/api/token",
162162
}
163163

164-
// Stackoverflow provides endpoint for using OAuth2 to access Stackoverflow.
165-
var Stackoverflow = oauth2.Endpoint{
164+
// StackOverflow is the endpoint for Stack Overflow.
165+
var StackOverflow = oauth2.Endpoint{
166166
AuthURL: "https://stackoverflow.com/oauth",
167167
TokenURL: "https://stackoverflow.com/oauth/access_token",
168168
}
169169

170-
// Twitch provides endpoint for using OAuth2 to access Twitch.
170+
// Twitch is the endpoint for Twitch.
171171
var Twitch = oauth2.Endpoint{
172172
AuthURL: "https://id.twitch.tv/oauth2/authorize",
173173
TokenURL: "https://id.twitch.tv/oauth2/token",
174174
}
175175

176-
// Uber provides endpoint for using OAuth2 to access Uber.
176+
// Uber is the endpoint for Uber.
177177
var Uber = oauth2.Endpoint{
178178
AuthURL: "https://login.uber.com/oauth/v2/authorize",
179179
TokenURL: "https://login.uber.com/oauth/v2/token",
180180
}
181181

182-
// Vk provides endpoint for using OAuth2 to access Vk.
182+
// Vk is the endpoint for Vk.
183183
var Vk = oauth2.Endpoint{
184184
AuthURL: "https://oauth.vk.com/authorize",
185185
TokenURL: "https://oauth.vk.com/access_token",
186186
}
187187

188-
// Yahoo provides endpoint for using OAuth2 to access Yahoo.
188+
// Yahoo is the endpoint for Yahoo.
189189
var Yahoo = oauth2.Endpoint{
190190
AuthURL: "https://api.login.yahoo.com/oauth2/request_auth",
191191
TokenURL: "https://api.login.yahoo.com/oauth2/get_token",
192192
}
193193

194-
// Yandex provides endpoint for using OAuth2 to access Yandex.
194+
// Yandex is the endpoint for Yandex.
195195
var Yandex = oauth2.Endpoint{
196196
AuthURL: "https://oauth.yandex.com/authorize",
197197
TokenURL: "https://oauth.yandex.com/token",

0 commit comments

Comments
 (0)