Safe Haskell | None |
---|---|
Language | Haskell98 |
OAuth2 plugin for https://slack.com/
- Authenticates against slack
- Uses slack user id as credentials identifier
- Returns name, access_token, email, avatar, team_id, and team_name as extras
- data SlackScope
- oauth2Slack :: YesodAuth m => Text -> Text -> AuthPlugin m
- oauth2SlackScoped :: YesodAuth m => Text -> Text -> [SlackScope] -> AuthPlugin m
Documentation
:: YesodAuth m | |
=> Text | Client ID |
-> Text | Client Secret |
-> AuthPlugin m |
Auth with Slack
Requests identity.basic
scopes and uses the user's Slack ID as the
identifier.Creds
:: YesodAuth m | |
=> Text | Client ID |
-> Text | Client Secret |
-> [SlackScope] | |
-> AuthPlugin m |
Auth with Slack
Requests custom scopes and uses the user's Slack ID as the
identifier.Creds