pub fn email_domain_allowed(
allowed_domains: Option<&str>,
email: &str,
) -> Result<bool>Expand description
Returns whether an email address is allowed by a stored allow-list JSON string.
ยงErrors
Returns ExternalAuthError when the provider input violates its format, length, or protocol contract.