Documentation
¶
Index ¶
Constants ¶
View Source
const OAuthServerEndpoint = "https://slack.com/api/oauth.v2.access"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exchanger ¶
type Exchanger interface {
Exchange(string, string, string) (CodeExchangeHTTPResponse, error)
}
type SlackClient ¶
type SlackClient struct {
// contains filtered or unexported fields
}
func NewSlackClient ¶
func NewSlackClient(doer Doer) *SlackClient
func (*SlackClient) Exchange ¶
func (c *SlackClient) Exchange(code, clientID, clientSecret string) (CodeExchangeHTTPResponse, error)
Click to show internal directories.
Click to hide internal directories.