| Copyright | (c) CNRS 2017-Present |
|---|---|
| License | AGPL + CECILL v3 |
| Maintainer | team@gargantext.org |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Gargantext.API.Admin.Auth.Types
Description
Synopsis
- data AuthRequest = AuthRequest {}
- data AuthResponse = AuthResponse {}
- type Token = Text
- type TreeId = NodeId
- data CheckAuth
- data AuthenticatedUser = AuthenticatedUser {}
- auth_user_id :: Lens' AuthenticatedUser UserId
- auth_node_id :: Lens' AuthenticatedUser NodeId
- data AuthenticationError
- type AuthContext = '[JWTSettings, CookieSettings]
- data PathId
- type Email = Text
- type Password = Text
- data ForgotPasswordRequest = ForgotPasswordRequest {}
- data ForgotPasswordResponse = ForgotPasswordResponse {}
- data ForgotPasswordGet = ForgotPasswordGet {}
- authRes_user_id :: Lens' AuthResponse UserId
- authRes_tree_id :: Lens' AuthResponse TreeId
- authRes_token :: Lens' AuthResponse Token
Documentation
data AuthRequest #
Main types for AUTH API
Constructors
| AuthRequest | |
Fields | |
Instances
data AuthResponse #
Constructors
| AuthResponse | |
Fields | |
Instances
Constructors
| InvalidUser | |
| InvalidPassword | |
| Valid Token TreeId UserId |
data AuthenticatedUser #
Constructors
| AuthenticatedUser | |
Fields | |
Instances
data AuthenticationError #
Instances
| Show AuthenticationError # | |
Defined in Gargantext.API.Admin.Auth.Types Methods showsPrec :: Int -> AuthenticationError -> ShowS # show :: AuthenticationError -> String # showList :: [AuthenticationError] -> ShowS # | |
| Eq AuthenticationError # | |
Defined in Gargantext.API.Admin.Auth.Types Methods (==) :: AuthenticationError -> AuthenticationError -> Bool # (/=) :: AuthenticationError -> AuthenticationError -> Bool # | |
type AuthContext = '[JWTSettings, CookieSettings] #
data ForgotPasswordRequest #
Constructors
| ForgotPasswordRequest | |
Fields | |
Instances
data ForgotPasswordResponse #
Constructors
| ForgotPasswordResponse | |
Fields | |
Instances
data ForgotPasswordGet #
Constructors
| ForgotPasswordGet | |
Fields | |