From a0886694f73fc382d78da79ab8bfb27475757bab Mon Sep 17 00:00:00 2001 From: adambrangenberg Date: Wed, 24 Dec 2025 03:40:10 +0100 Subject: Implemented basic auth, refactor --- src/Model/Authentication.hs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/Model/Authentication.hs (limited to 'src/Model/Authentication.hs') diff --git a/src/Model/Authentication.hs b/src/Model/Authentication.hs new file mode 100644 index 0000000..be1337a --- /dev/null +++ b/src/Model/Authentication.hs @@ -0,0 +1,12 @@ +{-# LANGUAGE DeriveGeneric #-} + +module Model.Authentication (AuthenticationResponse (..)) where + +import GHC.Generics +import Data.Text (Text) + +---------------------------------------------------------------------------------------------------- +data AuthenticationResponse = AuthenticationResponse -- delete? + { userId :: Text + } + deriving (Show, Eq, Generic) -- cgit v1.2.3