diff options
| author | adambrangenberg <adabran06@gmail.com> | 2025-12-24 03:40:10 +0100 |
|---|---|---|
| committer | adambrangenberg <adabran06@gmail.com> | 2025-12-24 03:40:10 +0100 |
| commit | a0886694f73fc382d78da79ab8bfb27475757bab (patch) | |
| tree | 652ba9b603a1acaf4dfca188f7bb2c29c6bccfd0 /src/Model/Authentication.hs | |
| parent | 2b48a574e8b9fed03a5c1969af4bb1e338f1be26 (diff) | |
Implemented basic auth, refactor
Diffstat (limited to 'src/Model/Authentication.hs')
| -rw-r--r-- | src/Model/Authentication.hs | 12 |
1 files changed, 12 insertions, 0 deletions
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) |