Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- isMLSEnabled :: Member (Input Env) r => Sem r Bool
- assertMLSEnabled :: (Member (Input Env) r, Member (ErrorS 'MLSNotEnabled) r) => Sem r ()
- getMLSPrivateKeys :: (Member (Input Env) r, Member (ErrorS 'MLSNotEnabled) r) => Sem r (MLSKeysByPurpose MLSPrivateKeys)
Documentation
assertMLSEnabled :: (Member (Input Env) r, Member (ErrorS 'MLSNotEnabled) r) => Sem r () Source #
Fail if MLS is not enabled. Only use this function at the beginning of an MLS endpoint, NOT in utility functions.
getMLSPrivateKeys :: (Member (Input Env) r, Member (ErrorS 'MLSNotEnabled) r) => Sem r (MLSKeysByPurpose MLSPrivateKeys) Source #