yesod-auth-oauth2/package.yaml
patrick brisbin 49542cbca1 Re-structure modules
- Extract ...OAuth2.Dispatch
- Extract ...OAuth2.Prelude
- Reduce ...OAuth2 interface
- Re-export ...OAuth2 from Prelude

Incidental improvements:

- Moves a lot of FromJSON interfaces to withObject which will provide
  better de-serialization errors
- Updates Dispatch code to prepare for fetch-creds functions returning
  either instead of maybe, so we can eventually remove exceptions
  entirely
- Replaces (the potentially information-leaking) 500 on OAuth2-related
  errors with a 403 and logged error
2018-01-27 08:10:55 -05:00

44 lines
977 B
YAML

---
name: yesod-auth-oauth2
version: '0.3.1'
synopsis: OAuth 2.0 authentication plugins
description: Library to authenticate with OAuth 2.0 for Yesod web applications.
category: Web
author: Tom Streller
maintainer: Pat Brisbin <pbrisbin@gmail.com>
license: MIT
github: thoughtbot/yesod-auth-oauth2.git
homepage: http://github.com/thoughtbot/yesod-auth-oauth2
ghc-options: -Wall
dependencies:
- base >=4.8.0.0 && <5
library:
source-dirs: src
dependencies:
- aeson >=0.6 && <1.3
- bytestring >=0.9.1.4
- hoauth2 >=1.3.0 && <1.6
- http-client >=0.4.0 && <0.6
- http-conduit >=2.0 && <3.0
- http-types >=0.8 && <0.10
- microlens
- random
- safe-exceptions
- text >=0.7 && <2.0
- transformers >=0.2.2 && <0.6
- uri-bytestring
- yesod-auth >=1.3 && <1.5
- yesod-core >=1.2 && <1.5
tests:
test:
main: Spec.hs
source-dirs: test
dependencies:
- yesod-auth-oauth2
- hspec
- uri-bytestring