]> Git — Sourcephile - gargantext.git/blob - src/Gargantext/API/Auth.hs
File missing
[gargantext.git] / src / Gargantext / API / Auth.hs
1 {-|
2 Module : Gargantext.API.Auth
3 Description : Server API Auth Module
4 Copyright : (c) CNRS, 2017-Present
5 License : AGPL + CECILL v3
6 Maintainer : team@gargantext.org
7 Stability : experimental
8 Portability : POSIX
9
10 Main authorisation of Gargantext are managed in this module
11
12 -- 1: Implement the Server / Client JWT authentication
13 -> Client towards Python Backend
14 -> Server towards Purescript Front-End
15
16 -- 2: Implement the Auth API backend
17 https://github.com/haskell-servant/servant-auth
18
19 -}
20
21 {-# OPTIONS_GHC -fno-warn-name-shadowing #-}
22 {-# LANGUAGE DataKinds #-}
23 {-# LANGUAGE TemplateHaskell #-}
24
25 module Gargantext.API.Auth
26 where
27
28 --import Gargantext.Prelude
29
30 --data Auth = Auth { username :: Text
31 -- , password :: Text
32 -- } deriving (Generics)
33