From 257968f0674538bc70a502ac7375c84e5058b900 Mon Sep 17 00:00:00 2001 From: patrick brisbin Date: Fri, 21 Feb 2014 11:00:57 -0500 Subject: [PATCH] Fix documentation error --- Yesod/Auth/OAuth2.hs | 5 ++--- yesod-auth-oauth2.cabal | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Yesod/Auth/OAuth2.hs b/Yesod/Auth/OAuth2.hs index 99362d4..3463ddc 100644 --- a/Yesod/Auth/OAuth2.hs +++ b/Yesod/Auth/OAuth2.hs @@ -27,12 +27,11 @@ oauth2Url name = PluginR name ["forward"] authOAuth2 :: YesodAuth m => Text -- ^ Service name -> OAuth2 -- ^ Service details - - -- | This function defines how to take an @'AccessToken'@ and + -> (AccessToken -> IO (Creds m)) + -- ^ This function defines how to take an @'AccessToken'@ and -- retrieve additional information about the user, to be -- set in the session as @'Creds'@. Usually this means a -- second authorized request to @api/me.json@. - -> (AccessToken -> IO (Creds m)) -> AuthPlugin m authOAuth2 name oauth getCreds = AuthPlugin name dispatch login diff --git a/yesod-auth-oauth2.cabal b/yesod-auth-oauth2.cabal index f11daf4..05e9a7a 100644 --- a/yesod-auth-oauth2.cabal +++ b/yesod-auth-oauth2.cabal @@ -1,5 +1,5 @@ name: yesod-auth-oauth2 -version: 0.0.1 +version: 0.0.2 license: BSD3 license-file: LICENSE author: Tom Streller