oauthenticated: Simple OAuth for http-client

[ library, mit, network, web ] [ Propose Tags ] [ Report a vulnerability ]

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.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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, 0.2.0.0, 0.2.1.0, 0.3.0.0
Dependencies aeson, base (>=4.8 && <5), base64-bytestring, blaze-builder, bytestring, case-insensitive, cryptonite, exceptions, http-client, http-types, memory, mtl, network, network-uri, text, time, transformers [details]
License MIT
Copyright 2013 (c) Joseph Abrahamson
Author Joseph Abrahamson
Maintainer me@jspha.com
Category Network, Web
Home page https://github.com/tel/oauthenticated.git#readme
Bug tracker https://github.com/tel/oauthenticated.git/issues
Source repo head: git clone https://github.com/tel/oauthenticated.git
Uploaded by dfithian at 2022-03-30T01:18:31Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 7674 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-03-30 [all 1 reports]