mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-04-27 13:17:43 +02:00
Reformat everything with Stylish Haskell
This commit is contained in:
parent
f5e4d33daa
commit
621a7ee7e6
@ -19,11 +19,7 @@ import Network.HTTP.Conduit (Manager)
|
|||||||
import qualified Network.OAuth.OAuth2 as OAuth2
|
import qualified Network.OAuth.OAuth2 as OAuth2
|
||||||
#if MIN_VERSION_hoauth2(2,7,0)
|
#if MIN_VERSION_hoauth2(2,7,0)
|
||||||
import Network.OAuth.OAuth2
|
import Network.OAuth.OAuth2
|
||||||
( AccessToken(..)
|
(AccessToken(..), ExchangeToken(..), OAuth2Token(..), RefreshToken(..))
|
||||||
, ExchangeToken(..)
|
|
||||||
, OAuth2Token(..)
|
|
||||||
, RefreshToken(..)
|
|
||||||
)
|
|
||||||
import Network.OAuth.OAuth2.TokenRequest (TokenRequestError)
|
import Network.OAuth.OAuth2.TokenRequest (TokenRequestError)
|
||||||
#else
|
#else
|
||||||
import Network.OAuth.OAuth2
|
import Network.OAuth.OAuth2
|
||||||
|
|||||||
@ -14,7 +14,7 @@ module Yesod.Auth.OAuth2.Slack
|
|||||||
import Yesod.Auth.OAuth2.Prelude
|
import Yesod.Auth.OAuth2.Prelude
|
||||||
|
|
||||||
import Network.HTTP.Client
|
import Network.HTTP.Client
|
||||||
(httpLbs, parseUrlThrow, responseBody, setQueryString)
|
(httpLbs, parseUrlThrow, responseBody, setQueryString)
|
||||||
import Yesod.Auth.OAuth2.Exception as YesodOAuth2Exception
|
import Yesod.Auth.OAuth2.Exception as YesodOAuth2Exception
|
||||||
|
|
||||||
data SlackScope
|
data SlackScope
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user