#authentication #authorization #auth #oauth #slack

inth_oauth2_slack

OAuth2 provider for Slack via the inth-oauth2 crate

1 unstable release

Uses old Rust 2015

0.0.1 Apr 30, 2018

#28 in #authorization

Custom license

4KB

inth_oauth2_slack

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

Documentation

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

~16MB
~379K SLoC