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
10 Main authorisation of Gargantext are managed in this module
12 -- 1: Implement the Server / Client JWT authentication
13 -> Client towards Python Backend
14 -> Server towards Purescript Front-End
16 -- 2: Implement the Auth API backend
17 https://github.com/haskell-servant/servant-auth
21 {-# OPTIONS_GHC -fno-warn-name-shadowing #-}
22 {-# LANGUAGE DataKinds #-}
23 {-# LANGUAGE TemplateHaskell #-}
25 module Gargantext.API.Auth
28 --import Gargantext.Prelude
30 --data Auth = Auth { username :: Text
32 -- } deriving (Generics)