-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | OAuth Authentication for Yesod.
--   
--   API docs and the README are available at
--   <a>http://www.stackage.org/package/yesod-auth-oauth</a>
@package yesod-auth-oauth
@version 1.4.2

module Yesod.Auth.OAuth
authOAuth :: YesodAuth m => OAuth -> (Credential -> IO (Creds m)) -> AuthPlugin m
oauthUrl :: Text -> AuthRoute

-- | This plugin uses Twitter's <i>screen_name</i> as ID, which shouldn't
--   be used for authentication because it is mutable.

-- | <i>Deprecated: Use authTwitterUsingUserID instead</i>
authTwitter :: YesodAuth m => ByteString -> ByteString -> AuthPlugin m

-- | Twitter plugin which uses Twitter's <i>user_id</i> as ID.
--   
--   For more information, see:
--   <a>https://github.com/yesodweb/yesod/pull/1168</a>
authTwitterUsingUserId :: YesodAuth m => ByteString -> ByteString -> AuthPlugin m
twitterUrl :: AuthRoute
authTumblr :: YesodAuth m => ByteString -> ByteString -> AuthPlugin m
tumblrUrl :: AuthRoute
instance GHC.Show.Show Yesod.Auth.OAuth.YesodOAuthException
instance GHC.Exception.Exception Yesod.Auth.OAuth.YesodOAuthException
