Crates.io | inth_oauth2_slack |
lib.rs | inth_oauth2_slack |
version | 0.0.1 |
source | src |
created_at | 2018-04-30 15:36:13.465353 |
updated_at | 2018-04-30 15:36:13.465353 |
description | OAuth2 provider for Slack via the `inth-oauth2` crate |
homepage | https://github.com/Phrohdoh/inth_oauth2_slack |
repository | https://github.com/Phrohdoh/inth_oauth2_slack |
max_upload_size | |
id | 63168 |
size | 4,743 |
inth_oauth2_slack
Provides an implementation of inth-oauth2
's Provider
trait for Slack.
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())
);
// ...
See LICENSE
.