Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
docs/reference/user/activation.md {#RefActivationAllowlist}
Email/phone whitelist.
Synopsis
- data AllowlistEmailDomains = AllowlistEmailDomains [Text]
- verify :: Maybe AllowlistEmailDomains -> EmailAddress -> Bool
Documentation
data AllowlistEmailDomains Source #
A service providing a whitelist of allowed email addresses and phone numbers
Instances
FromJSON AllowlistEmailDomains Source # | |
Defined in Wire.API.Allowlists | |
Generic AllowlistEmailDomains Source # | |
Defined in Wire.API.Allowlists type Rep AllowlistEmailDomains :: Type -> Type # | |
Show AllowlistEmailDomains Source # | |
Defined in Wire.API.Allowlists showsPrec :: Int -> AllowlistEmailDomains -> ShowS # show :: AllowlistEmailDomains -> String # showList :: [AllowlistEmailDomains] -> ShowS # | |
type Rep AllowlistEmailDomains Source # | |
Defined in Wire.API.Allowlists type Rep AllowlistEmailDomains = D1 ('MetaData "AllowlistEmailDomains" "Wire.API.Allowlists" "wire-api-0.1.0-EbZS9CKNOfZ8BBy5DRJfXi" 'False) (C1 ('MetaCons "AllowlistEmailDomains" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]))) |
verify :: Maybe AllowlistEmailDomains -> EmailAddress -> Bool Source #
Consult the whitelist settings in brig's config file and verify that the provided email address is whitelisted.