tel / oauthenticated

Authentication-ho! OAuth 1.0 for Haskell atop http-conduit.
MIT License
6 stars 6 forks source link

Lts upgrade #23

Closed dfithian closed 6 years ago

dfithian commented 6 years ago

Uses stack + hpack

I presume one very controversial thing I did was to move oauth_token into workflowParams. I came to this conclusion by skimming through the RFC and deciding that since I only ever saw oauth_token in conjunction with either oauth_callback or oauth_verifier that they should go together. I'd be perfectly happy to instead pass in some function of the settings telling it whether or not to include oauth_token for a given request. Whatever the conclusion, the service I'm integrating to specifically does NOT want the oauth_token so that was the motivation.

Another thing that travis did was call cabal test but since there are no tests I made this just stack build.

@mossprescott @ystael

dfithian commented 6 years ago

@tel Doesn't look like travis is set up to me, or I don't have permissions. When you get a chance can you point me to it or create the build and give me permissions to see it? I can also add a badge to the readme.

dfithian commented 6 years ago

Other thing is that crypto-random is deprecated, but I think it still works okay for now.

https://github.com/vincenthz/hs-crypto-random