packages feed

oauthenticated-0.2.0.0: oauthenticated.cabal

-- This file has been generated from package.yaml by hpack version 0.20.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 17b79e47a3f7b1729531b411a7a3e56766102b8aeb5e6ba09cdabd55c17d5d88

name:           oauthenticated
version:        0.2.0.0
synopsis:       Simple OAuth for http-client
description:    /Warning/: This software is pre 1.0 and thus its API may change very
                dynamically while updating only minor versions. This package will follow the
                PVP once it reaches version 1.0.
                .
                OAuth is a popular protocol allowing servers to offer resources owned by some
                user to a series of authorized clients securely. For instance, OAuth lets
                Twitter provide access to a user's private tweets to the Twitter client
                registered on their phone.
                .
                @oauthenticated@ is a Haskell library implementing OAuth protocols atop the
                minimalistic @http-client@ HTTP client library extracted from @http-conduit@.
                "Network.OAuth" offers simple functions for signing
                'Network.HTTP.Client.Request's along with tools for 'Network.OAuth.Cred'ential
                management and 'Network.OAuth.Server' configuration. "Network.OAuth.Simple"
                provides a slightly more heavy-weight interface which manages the necessary state
                and configuration using a monad transformer stack.
                .
                There's also an implementation of OAuth's three-legged credential acquisition
                protocol built atop the "Network.OAuth" API. This can be handled in both
                conformant and old-style modes: conformant will reject server responses which
                are not conformant with RFC 5849 (which builds atop community version OAuth
                1.0a) while old-style better allows for less-than-compliant servers. See
                'Network.OAuth.Types.Params.Version' for more details.
                .
                Currently @oauthenticated@ only supports OAuth 1.0 and is in alpha. OAuth 2.0
                support is a potential goal, but it's unclear if it can be transparently
                supported at a similar level of abstraction.
category:       Network, Web
homepage:       https://github.com/tel/oauthenticated.git#readme
bug-reports:    https://github.com/tel/oauthenticated.git/issues
author:         Joseph Abrahamson
maintainer:     me@jspha.com
copyright:      2013 (c) Joseph Abrahamson
license:        MIT
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

source-repository head
  type: git
  location: https://github.com/tel/oauthenticated.git

library
  hs-source-dirs:
      src
  ghc-options: -Wall -fwarn-tabs
  build-depends:
      aeson
    , base >=4.10 && <5
    , base64-bytestring
    , blaze-builder
    , bytestring
    , case-insensitive
    , crypto-random
    , cryptohash
    , exceptions
    , http-client
    , http-types
    , mtl
    , network
    , network-uri
    , text
    , time
    , transformers
  exposed-modules:
      Network.OAuth
      Network.OAuth.Signing
      Network.OAuth.Simple
      Network.OAuth.ThreeLegged
      Network.OAuth.Types.Credentials
      Network.OAuth.Types.Params
  other-modules:
      Network.OAuth.MuLens
      Network.OAuth.Util
  default-language: Haskell2010

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  hs-source-dirs:
      test
  ghc-options: -Wall -fwarn-tabs
  build-depends:
      aeson
    , base >=4.10 && <5
    , base64-bytestring
    , blaze-builder
    , bytestring
    , case-insensitive
    , crypto-random
    , cryptohash
    , exceptions
    , hspec
    , hspec-expectations
    , http-client
    , http-client-tls
    , http-types
    , mtl
    , network
    , network-uri
    , oauthenticated
    , text
    , time
    , transformers
  other-modules:
      Config
      SigningSpec
      Paths_oauthenticated
  default-language: Haskell2010