yesod-auth-oauth2/yesod-auth-oauth2.cabal
patrick brisbin 434e2bc092 Update dependencies, make it work, address -Wall
Housekeeping:

* Use newer http-conduit (Request m becomes Request)
* Increase upper bound on aeson
* Fix whitespace, remove unfinished function
* Add type signatures and some comments
* Remove unused imports

Fixes:

* ByteString needs an orphan JSON instance so AccessToken can have one.
  I'm not sure if there's a way around this.
* redirect takes a Text, not a ByteString
* dispatch for "callback" should handle setting the credentials

Additions

* oauth2Learn for authenticating against learn.thoughtbot.com
2014-02-15 14:44:01 -05:00

39 lines
1.4 KiB
Plaintext

name: yesod-auth-oauth2
version: 0.0.1
license: BSD3
license-file: LICENSE
author: Tom Streller
maintainer: Tom Streller
synopsis: Library to authenticate with OAuth 2.0 for Yesod web applications.
description: OAuth 2.0 authentication
category: Web
stability: Experimental
cabal-version: >= 1.6
build-type: Simple
homepage: http://github.com/scan/yesod-auth-oauth2
flag ghc7
library
if flag(ghc7)
build-depends: base >= 4.3 && < 5
cpp-options: -DGHC7
else
build-depends: base >= 4 && < 4.3
build-depends: bytestring >= 0.9.1.4
, http-conduit >= 2.0 && < 3.0
, http-types >= 0.8 && < 0.9
, aeson >= 0.6 && < 0.8
, yesod-core >= 1.2 && < 1.3
, yesod-auth >= 1.2 && < 1.3
, text >= 0.7 && < 0.12
, yesod-form >= 1.3 && < 1.4
, transformers >= 0.2.2 && < 0.4
exposed-modules: Yesod.Auth.OAuth2
other-modules: Yesod.Auth.OAuth2.Internal
ghc-options: -Wall
source-repository head
type: git
location: git://github.com/scan/authenticate-oauth2.git