Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data LegalHoldLogin = LegalHoldLogin {
- lhlUserId :: !UserId
- lhlPassword :: !(Maybe PlainTextPassword6)
- lhlLabel :: !(Maybe CookieLabel)
Documentation
data LegalHoldLogin Source #
A special kind of login that is only used for an internal endpoint.
This kind of login returns restricted LegalHoldUserToken
s instead of regular
tokens.
LegalHoldLogin | |
|
Instances
FromJSON LegalHoldLogin Source # | |
Defined in Wire.API.User.Auth.LegalHold parseJSON :: Value -> Parser LegalHoldLogin Source # parseJSONList :: Value -> Parser [LegalHoldLogin] Source # | |
ToJSON LegalHoldLogin Source # | |
Defined in Wire.API.User.Auth.LegalHold toJSON :: LegalHoldLogin -> Value Source # toEncoding :: LegalHoldLogin -> Encoding Source # toJSONList :: [LegalHoldLogin] -> Value Source # toEncodingList :: [LegalHoldLogin] -> Encoding Source # | |
ToSchema LegalHoldLogin Source # | |
Defined in Wire.API.User.Auth.LegalHold | |
ToSchema LegalHoldLogin Source # | |