Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data VerificationCodeSubsystemError Source #
Instances
newtype CodeAlreadyExists Source #
Instances
Show CodeAlreadyExists Source # | |
Defined in Wire.VerificationCodeSubsystem showsPrec :: Int -> CodeAlreadyExists -> ShowS # show :: CodeAlreadyExists -> String # showList :: [CodeAlreadyExists] -> ShowS # | |
Eq CodeAlreadyExists Source # | |
Defined in Wire.VerificationCodeSubsystem (==) :: CodeAlreadyExists -> CodeAlreadyExists -> Bool # (/=) :: CodeAlreadyExists -> CodeAlreadyExists -> Bool # |
data VerificationCodeSubsystem m a where Source #
CreateCode | |
| |
CreateCodeOverwritePrevious | |
| |
VerifyCode :: Key -> Scope -> Value -> VerificationCodeSubsystem m (Maybe Code) | |
DeleteCode :: Key -> Scope -> VerificationCodeSubsystem m () | |
InternalLookupCode :: Key -> Scope -> VerificationCodeSubsystem m (Maybe Code) |
internalLookupCode :: forall r. Member VerificationCodeSubsystem r => Key -> Scope -> Sem r (Maybe Code) Source #
deleteCode :: forall r. Member VerificationCodeSubsystem r => Key -> Scope -> Sem r () Source #
verifyCode :: forall r. Member VerificationCodeSubsystem r => Key -> Scope -> Value -> Sem r (Maybe Code) Source #
createCodeOverwritePrevious :: forall r. Member VerificationCodeSubsystem r => VerificationCodeGen -> Scope -> Retries -> Timeout -> Maybe UUID -> Sem r Code Source #
createCode :: forall r. Member VerificationCodeSubsystem r => VerificationCodeGen -> Scope -> Retries -> Timeout -> Maybe UUID -> Sem r (Either CodeAlreadyExists Code) Source #