Commit graph

959 commits

Author SHA1 Message Date
aaron levin
25d39cdeac Fix GADT/ADT typo 2015-12-26 12:45:32 +01:00
aaron levin
1a042772f5 build servant-server on GHC 7.8.4 2015-12-25 17:09:42 +01:00
aaron levin
a154a2d1ec get servant-mock building with new GADT-based auth 2015-12-25 12:45:10 +01:00
aaron levin
10bc3be75c Fix ambiguous occurance of Strict 2015-12-25 02:13:42 +01:00
aaron levin
81f8b885d4 remove redundant Authentication import 2015-12-25 00:25:44 +01:00
aaron levin
d0c5797664 update auth-comb. tutorial for new GADT-based auth 2015-12-25 00:25:15 +01:00
aaron levin
a8bb095b6f Client tests now pass with GADT-based auth 2015-12-24 23:20:20 +01:00
aaron levin
cef2e87aa6 Update servant-client for new GADT-based auth 2015-12-24 22:19:29 +01:00
aaron levin
8a26dc52c5 update servant-foriegn for new GADT-based auth 2015-12-24 22:07:25 +01:00
aaron levin
133dadd054 Update CHANGELOG 2015-12-24 21:56:49 +01:00
aaron levin
71d5debdf1 Incorporate new GADT-based auth into servant-docs 2015-12-24 21:53:51 +01:00
aaron levin
ae510791dd Remove 'these' dependency 2015-12-24 18:13:28 +01:00
aaron levin
e863f1b88c Tests now pass for GADT-based authentication 2015-12-24 18:01:40 +01:00
aaron levin
007e8586c5 HasServer instances for new GADT-based auth 2015-12-24 18:01:23 +01:00
aaron levin
8db2a0bb6e Paramterize AuthProtect with error for each policy 2015-12-24 17:47:36 +01:00
aaron levin
a56fe6f409 Minor adjustments to AuthProtected to use with Delayed 2015-12-24 17:20:56 +01:00
aaron levin
4d23cada4c Incorporate new GADT-based auth into Delayed 2015-12-24 17:20:29 +01:00
aaron levin
c169d0bd59 Add these dependency 2015-12-24 14:29:06 +01:00
aaron levin
743c51b3c5 Update server authentication with new GADT 2015-12-24 12:09:12 +01:00
aaron levin
0fbd84bfd7 user-configurable errors for authentication 2015-12-24 00:42:56 +01:00
aaron levin
58ed6d0943 Revert to GADT-based AuthProtect data type 2015-12-23 23:32:34 +01:00
aaron levin
1f5a2b0bda Add upper bound on word8 in servant-server 2015-12-23 00:38:03 +01:00
aaron levin
0f7f9aae13 Allow for multiple authentications in docs 2015-12-23 00:36:41 +01:00
aaron levin
5bf9e62244 Consistent spacing in servant-client 2015-12-23 00:00:09 +01:00
aaron levin
4ecbf2f1b8 Fix spelling in servant-client test 2015-12-22 23:58:50 +01:00
aaron levin
d7a719d3d2 Fix servant-foreign tests (now passing) 2015-12-22 23:57:34 +01:00
aaron levin
61fe932d0a Work around lacking Eq instance for HeaderArg 2015-12-22 00:33:05 +01:00
aaron levin
7d9523eed1 Fix servant-foreign rebasing + update API 2015-12-21 23:35:49 +01:00
Arian van Putten
014d2df986 Fix jwt auth tests 2015-12-21 14:53:13 +01:00
aaron levin
e241c5198a Fix indentation in client specs 2015-12-21 00:08:39 +01:00
aaron levin
710479e109 Auth + JWT Tests compile without errors 2015-12-20 23:44:02 +01:00
aaron levin
88974106b1 Update server for new Delayed type 2015-12-20 23:00:43 +01:00
aaron levin
b2103790b0 Remove warnings 2015-12-20 22:51:34 +01:00
aaron levin
c432891035 Update HasServer instances for auth lax/strict 2015-12-20 22:51:34 +01:00
aaron levin
ee1e0fe355 Delayed handler for Lax authentication 2015-12-20 22:51:32 +01:00
aaron levin
1aca415ec7 Use new Delayed type to capture authentication 2015-12-20 22:49:56 +01:00
Arian van Putten
667dbbc8cd Make auth tests 2015-12-20 22:49:50 +01:00
Arian van Putten
dc699a93e0 Refine the jwt api 2015-12-20 22:49:50 +01:00
aaron levin
2b3df72fa2 Begin integrating upstream changes into auth 2015-12-20 22:49:50 +01:00
aaron levin
2424424ab2 servant-server: Remove unnecessary dependency on Common.Text 2015-12-20 22:49:50 +01:00
aaron levin
fff82de2d8 servant-foreign: Fix rebase changes 2015-12-20 22:49:47 +01:00
Arian van Putten
4965f1a113 Add instances for auth in servant-mock 2015-12-20 22:47:35 +01:00
Arian van Putten
6640ac358b Add support for authentication to servant-foreign and servant-js 2015-12-20 22:47:32 +01:00
Arian van Putten
79ac58a33d Solve extra merge conflicts 2015-12-20 22:41:06 +01:00
Arian van Putten
c64fa05611 Change JSON to be the bearing type of JWT auth.
This way both client and server can be the same API type.
2015-12-20 22:41:06 +01:00
Arian van Putten
a76b1f9e90 Export the auth stuff for jwt 2015-12-20 22:41:06 +01:00
Arian van Putten
51a68bd60d Add JWT to servant-server 2015-12-20 22:41:06 +01:00
aaron levin
7616eff8b7 remove policy specificity and add lax endpoint 2015-12-20 22:41:06 +01:00
aaron levin
8dbc857c8e Amend greet.hs to include authentication 2015-12-20 22:41:06 +01:00
aaron levin
d0ee287ba1 Properly export ToAuthInfo and AuthenticationInfo 2015-12-20 22:41:06 +01:00