yesod-auth-oauth-1.4.1.1: OAuth Authentication for Yesod.

Safe HaskellNone
LanguageHaskell98

Yesod.Auth.OAuth

Synopsis

Documentation

authOAuth Source

Arguments

:: YesodAuth m 
=> OAuth

OAuth data-type for signing.

-> (Credential -> IO (Creds m))

How to extract ident.

-> AuthPlugin m 

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