yesod-auth-oauth 1.2.0 → 1.3.0
raw patch · 2 files changed
+9/−7 lines, 2 filesdep ~authenticate-oauthdep ~textdep ~transformersnew-uploaderPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: authenticate-oauth, text, transformers, yesod-auth
API changes (from Hackage documentation)
Files
- Yesod/Auth/OAuth.hs +3/−1
- yesod-auth-oauth.cabal +6/−6
Yesod/Auth/OAuth.hs view
@@ -43,6 +43,7 @@ url = PluginR name [] lookupTokenSecret = bsToText . fromMaybe "" . lookup "oauth_token_secret" . unCredential oauthSessionName = "__oauth_token_secret"+ dispatch "GET" ["forward"] = do render <- lift getUrlRender tm <- getRouteToParent@@ -72,8 +73,9 @@ master <- getYesod accTok <- getAccessToken oauth reqTok (authHttpManager master) creds <- liftIO $ mkCreds accTok- setCreds True creds+ setCredsRedirect creds dispatch _ _ = notFound+ login tm = do render <- getUrlRender let oaUrl = render $ tm $ oauthUrl name
yesod-auth-oauth.cabal view
@@ -1,9 +1,9 @@ name: yesod-auth-oauth-version: 1.2.0+version: 1.3.0 license: BSD3 license-file: LICENSE author: Hiromi Ishii-maintainer: Hiromi Ishii+maintainer: Michael Litchard synopsis: OAuth Authentication for Yesod. category: Web, Yesod stability: Stable@@ -20,13 +20,13 @@ cpp-options: -DGHC7 else build-depends: base >= 4 && < 4.3- build-depends: authenticate-oauth >= 1.4 && < 1.5+ build-depends: authenticate-oauth >= 1.5 && < 1.6 , bytestring >= 0.9.1.4 , yesod-core >= 1.2 && < 1.3- , yesod-auth >= 1.2 && < 1.3- , text >= 0.7 && < 0.12+ , yesod-auth >= 1.3 && < 1.4+ , text >= 0.7 , yesod-form >= 1.3 && < 1.4- , transformers >= 0.2.2 && < 0.4+ , transformers >= 0.2.2 && < 0.5 , lifted-base >= 0.2 && < 0.3 exposed-modules: Yesod.Auth.OAuth ghc-options: -Wall