Slack Developer Kit for Node.js
Exchanges a temporary OAuth code for an API token.
Kind: instance method of [OauthFacet](#OauthFacet)
See: oauth.access
| Param | Type | Description |
|---|---|---|
| client_id | ? |
Issued when you created your application. |
| client_secret | ? |
Issued when you created your application. |
| code | ? |
The code param returned via the OAuth callback. |
| [opts] | Object |
|
| opts.redirect_uri | ? |
This must match the originally submitted URI (if one was sent). |
| [optCb] | function |
Optional callback, if not using promises. |