mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-04-21 10:17:43 +02:00
Typos
This commit is contained in:
parent
7536e7f25f
commit
4b6cb31ba9
@ -29,9 +29,9 @@ authOAuth2 :: YesodAuth m
|
|||||||
-> OAuth2 -- ^ Service details
|
-> OAuth2 -- ^ Service details
|
||||||
|
|
||||||
-- | This function defines how to take an @'AccessToken'@ and
|
-- | This function defines how to take an @'AccessToken'@ and
|
||||||
-- retrive additional information about the user, to be set
|
-- retrieve additional information about the user, to be
|
||||||
-- in the session as @'Creds'@. Usually this means a second
|
-- set in the session as @'Creds'@. Usually this means a
|
||||||
-- authorized request to @api/me.json@.
|
-- second authorized request to @api/me.json@.
|
||||||
-> (AccessToken -> IO (Creds m))
|
-> (AccessToken -> IO (Creds m))
|
||||||
-> AuthPlugin m
|
-> AuthPlugin m
|
||||||
authOAuth2 name oauth getCreds = AuthPlugin name dispatch login
|
authOAuth2 name oauth getCreds = AuthPlugin name dispatch login
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{-# LANGUAGE OverloadedStrings #-}
|
{-# LANGUAGE OverloadedStrings #-}
|
||||||
-- |
|
-- |
|
||||||
--
|
--
|
||||||
-- OAuth2 plugin for http://learn.thoughbot.com
|
-- OAuth2 plugin for http://learn.thoughtbot.com
|
||||||
--
|
--
|
||||||
-- * Authenticates against learn
|
-- * Authenticates against learn
|
||||||
-- * Uses learn user id as credentials identifier
|
-- * Uses learn user id as credentials identifier
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user