packages feed

yesod-auth-oauth 1.6.1 → 1.6.1.1

raw patch · 3 files changed

+12/−7 lines, 3 filesdep ~yesod-corenew-uploader

Dependency ranges changed: yesod-core

Files

ChangeLog.md view
@@ -1,5 +1,9 @@ # ChangeLog for yesod-auth-oauth +## 1.6.1.1++* Support `yesod-core` 1.7+ ## 1.6.1  * Allow newer GHC
Yesod/Auth/OAuth.hs view
@@ -1,9 +1,11 @@-{-# LANGUAGE OverloadedStrings, QuasiQuotes #-} {-# LANGUAGE FlexibleContexts #-}+{-# LANGUAGE GADTs #-} {-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE RankNTypes #-}-{-# LANGUAGE GADTs #-} {-# LANGUAGE ScopedTypeVariables #-}+ module Yesod.Auth.OAuth     ( authOAuth     , oauthUrl@@ -14,7 +16,6 @@     , tumblrUrl     , module Web.Authenticate.OAuth     ) where-import           Control.Applicative      as A ((<$>), (<*>)) import           Control.Arrow            ((***)) import           UnliftIO.Exception import           Control.Monad.IO.Class@@ -77,8 +78,8 @@                                 ]           else do             (verifier, oaTok) <--                runInputGet $ (,) A.<$> ireq textField "oauth_verifier"-                                  A.<*> ireq textField "oauth_token"+                runInputGet $ (,) <$> ireq textField "oauth_verifier"+                                  <*> ireq textField "oauth_token"             return $ Credential [ ("oauth_verifier", encodeUtf8 verifier)                                 , ("oauth_token", encodeUtf8 oaTok)                                 , ("oauth_token_secret", encodeUtf8 tokSec)
yesod-auth-oauth.cabal view
@@ -1,6 +1,6 @@ cabal-version:   >= 1.10 name:            yesod-auth-oauth-version:         1.6.1+version:         1.6.1.1 license:         BSD3 license-file:    LICENSE author:          Hiromi Ishii@@ -21,7 +21,7 @@                    , text                    >= 0.7                    , unliftio                    , yesod-auth              >= 1.6       && < 1.7-                   , yesod-core              >= 1.6       && < 1.7+                   , yesod-core              >= 1.6       && < 1.8                    , yesod-form              >= 1.6       && < 1.8     exposed-modules: Yesod.Auth.OAuth     ghc-options:     -Wall