Skip to content

Commit 188fb45

Browse files
tswastrakyll
authored andcommitted
slack: new package with Slack's endpoints
Change-Id: Ie461323194d73cdb9600e03abb96356637afc15d Reviewed-on: https://go-review.googlesource.com/19525 Reviewed-by: Burcu Dogan <[email protected]>
1 parent 8a57ed9 commit 188fb45

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

slack/slack.go

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright 2016 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
4+
5+
// Package slack provides constants for using OAuth2 to access Slack.
6+
package slack // import "golang.org/x/oauth2/slack"
7+
8+
import (
9+
"golang.org/x/oauth2"
10+
)
11+
12+
// Endpoint is Slack's OAuth 2.0 endpoint.
13+
var Endpoint = oauth2.Endpoint{
14+
AuthURL: "https://slack.com/oauth/authorize",
15+
TokenURL: "https://slack.com/api/oauth.access",
16+
}

0 commit comments

Comments
 (0)