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

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

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

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

-- | Deprecated: Use authTwitterUsingUserId instead
authTwitter :: YesodAuth m => ByteString -> ByteString -> AuthPlugin m

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