mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-01-11 19:58:28 +01:00
Typos
This commit is contained in:
parent
7536e7f25f
commit
4b6cb31ba9
@ -29,9 +29,9 @@ authOAuth2 :: YesodAuth m
|
||||
-> OAuth2 -- ^ Service details
|
||||
|
||||
-- | This function defines how to take an @'AccessToken'@ and
|
||||
-- retrive additional information about the user, to be set
|
||||
-- in the session as @'Creds'@. Usually this means a second
|
||||
-- authorized request to @api/me.json@.
|
||||
-- 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,7 +1,7 @@
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
-- |
|
||||
--
|
||||
-- OAuth2 plugin for http://learn.thoughbot.com
|
||||
-- OAuth2 plugin for http://learn.thoughtbot.com
|
||||
--
|
||||
-- * Authenticates against learn
|
||||
-- * Uses learn user id as credentials identifier
|
||||
|
||||
Loading…
Reference in New Issue
Block a user