mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-03-25 21:37:02 +01:00
Reformat everything with Stylish Haskell
This commit is contained in:
parent
6314843076
commit
71bdac0b4e
@ -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
|
||||||
|
|||||||
@ -18,8 +18,8 @@ import qualified Data.Text as T
|
|||||||
import Data.Text.Encoding (encodeUtf8)
|
import Data.Text.Encoding (encodeUtf8)
|
||||||
import Network.HTTP.Conduit (Manager)
|
import Network.HTTP.Conduit (Manager)
|
||||||
import Network.OAuth.OAuth2.Compat
|
import Network.OAuth.OAuth2.Compat
|
||||||
import URI.ByteString.Extension
|
|
||||||
import UnliftIO.Exception
|
import UnliftIO.Exception
|
||||||
|
import URI.ByteString.Extension
|
||||||
import Yesod.Auth hiding (ServerError)
|
import Yesod.Auth hiding (ServerError)
|
||||||
import Yesod.Auth.OAuth2.DispatchError
|
import Yesod.Auth.OAuth2.DispatchError
|
||||||
import Yesod.Auth.OAuth2.ErrorResponse
|
import Yesod.Auth.OAuth2.ErrorResponse
|
||||||
|
|||||||
@ -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