yesod-auth-oauth-1.6.1: OAuth Authentication for Yesod.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Yesod.Auth.OAuth

Synopsis

Documentation

authOAuth Source #

Arguments

:: forall master. YesodAuth master 
=> OAuth

OAuth data-type for signing.

-> (Credential -> IO (Creds master))

How to extract ident.

-> AuthPlugin master 

authTwitter Source #

Arguments

:: YesodAuth m 
=> ByteString

Consumer Key

-> ByteString

Consumer Secret

-> AuthPlugin m 

Deprecated: Use authTwitterUsingUserId instead

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

authTwitterUsingUserId Source #

Arguments

:: YesodAuth m 
=> ByteString

Consumer Key

-> ByteString

Consumer Secret

-> AuthPlugin m 

Twitter plugin which uses Twitter's user_id as ID.

For more information, see: https://github.com/yesodweb/yesod/pull/1168

Since: 1.4.1

authTumblr Source #

Arguments

:: YesodAuth m 
=> ByteString

Consumer Key

-> ByteString

Consumer Secret

-> AuthPlugin m