1 unstable release
Uses old Rust 2015
0.0.1 | Apr 30, 2018 |
---|
#133 in #oauth
4KB
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())
);
// ...
License
See LICENSE
.
lib.rs
:
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())
);
// ...
Dependencies
~16–26MB
~441K SLoC