mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-01-11 19:58:28 +01:00
Docs tweaks
This commit is contained in:
parent
93258d4468
commit
ef38c5c49d
@ -5,7 +5,7 @@
|
||||
--
|
||||
-- Generic OAuth2 plugin for Yesod
|
||||
--
|
||||
-- See "Yesod.Auth.OAuth2.GitHub" for example usage.
|
||||
-- See @"Yesod.Auth.OAuth2.GitHub"@ for example usage.
|
||||
--
|
||||
module Yesod.Auth.OAuth2
|
||||
( OAuth2(..)
|
||||
@ -40,7 +40,7 @@ oauth2Url name = PluginR name ["forward"]
|
||||
|
||||
-- | Create an @'AuthPlugin'@ for the given OAuth2 provider
|
||||
--
|
||||
-- Presents a generic @"Login via name"@ link
|
||||
-- Presents a generic @"Login via #{name}"@ link
|
||||
--
|
||||
authOAuth2 :: YesodAuth m => Text -> OAuth2 -> FetchCreds m -> AuthPlugin m
|
||||
authOAuth2 name = authOAuth2Widget [whamlet|Login via #{name}|] name
|
||||
|
||||
Loading…
Reference in New Issue
Block a user