packages feed

yesod-auth-oauth2 0.0.1 → 0.0.2

raw patch · 2 files changed

+3/−4 lines, 2 files

Files

Yesod/Auth/OAuth2.hs view
@@ -27,12 +27,11 @@ 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 
yesod-auth-oauth2.cabal view
@@ -1,5 +1,5 @@ name:            yesod-auth-oauth2-version:         0.0.1+version:         0.0.2 license:         BSD3 license-file:    LICENSE author:          Tom Streller