Fix documentation error

This commit is contained in:
patrick brisbin 2014-02-21 11:00:57 -05:00
parent 3c3c8f019d
commit 257968f067
2 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -1,5 +1,5 @@
name: yesod-auth-oauth2
version: 0.0.1
version: 0.0.2
license: BSD3
license-file: LICENSE
author: Tom Streller