Function slack_api::oauth::access [] [src]

pub fn access<R>(client: &R,
                 request: &AccessRequest)
                 -> Result<AccessResponse, AccessError<R::Error>> where R: SlackWebRequestSender

Exchanges a temporary OAuth code for an API token.

Wraps https://api.slack.com/methods/oauth.access