oauthenticated: Simple OAuth client code built atop http-conduit

[ library, mit, network, web ] [ Propose Tags ]

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. It offers a simplified main API in Network.OAuth which provides simplistic, authenticated GET and POST requests atop OAuth using a trivial state monad. It also offers a lower-level API in Network.OAuth.Signing which can be used to sign arbitrary requests while intercepting and modifying the OAuth parameter set.

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.

Versions 0.0.4, 0.0.5, 0.1.0, 0.1.1, 0.1.2,,,,,
Dependencies aeson, base (==4.6.*), base64-bytestring, blaze-builder, bytestring, case-insensitive, contravariant, crypto-random, cryptohash, exceptions, http-client, http-client-tls, http-types, mtl, network, time, transformers [details]
License MIT
Copyright 2013 (c) Joseph Abrahamson
Author Joseph Abrahamson
Maintainer me@jspha.com
Category Network, Web
Source repo head: git clone git://github.com/tel/oauthenticated.git
Uploaded by JosephAbrahamson at Mon Nov 25 18:01:46 UTC 2013
Distributions LTSHaskell:, NixOS:, Stackage:, openSUSE:
Downloads 2710 total (37 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-19 [all 7 reports]
Hackage Matrix CI


  • Network
    • Network.OAuth
      • Network.OAuth.MuLens
      • Network.OAuth.Signing
      • Network.OAuth.Stateful
      • Network.OAuth.ThreeLegged
      • Types
        • Network.OAuth.Types.Credentials
        • Network.OAuth.Types.Params


Maintainer's Corner

For package maintainers and hackage trustees