Crate inth_oauth2_slack [] [src]

inth_oauth2_slack provides an implementation of inth-oauth2's Provider trait for Slack.

Examples

extern crate inth_oauth2 as oauth;
extern crate inth_oauth2_slack;

let client = oauth::Client::new(
    inth_oauth2_slack::Slack,
    "<your client id>".into(),
    "<your client secret>".into(),
    Some("<your redirect url>".into())
);
 
// ...

Structs

Slack

The memberless struct that you'll use to authenticate with the Slack service.