def METHOD_NAME(self):
    """The default form-based auth provider."""
    return next((p for p in self.auth_providers.values() if not p.is_external and p.settings.get('default')),
                None)