mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-01-11 19:58:28 +01:00
Fix documentation error
This commit is contained in:
parent
3c3c8f019d
commit
257968f067
@ -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
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
name: yesod-auth-oauth2
|
||||
version: 0.0.1
|
||||
version: 0.0.2
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
author: Tom Streller
|
||||
|
||||
Loading…
Reference in New Issue
Block a user