The oauthenticated package
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.Requests along with tools for Network.OAuth.Credential 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.
|Versions||0.0.4, 0.0.5, 0.1.0, 0.1.1, 0.1.2, 0.1.3.2, 0.1.3.3, 0.1.3.4|
|Dependencies||aeson (>=0.6.2 && <0.8), base (==4.6.*), base64-bytestring (==1.0.*), blaze-builder (>=0.3), bytestring (>=0.9), case-insensitive (>=1.0 && <1.2), crypto-random (>=0.0.7), cryptohash (==0.11.*), either (>=4.0 && <5.0), exceptions (==0.3.*), http-client (>=0.2.0), http-types (>=0.8), mtl (>=2.0), network (>=2.3), text (>=0.11 && <1.2), time (>=1.2), transformers [details]|
|Copyright||2013 (c) Joseph Abrahamson|
|Source repository||head: git clone git://github.com/tel/oauthenticated.git|
|Uploaded||Mon Feb 24 15:35:27 UTC 2014 by JosephAbrahamson|
|Downloads||1485 total (3 in the last 30 days)|
|Status||Docs not available [build log]
All reported builds failed as of 2016-12-18 [all 7 reports]
For package maintainers and hackage trustees