'Google', self::GitHub => 'GitHub', }; } public function isEnabled(): bool { return (bool) config("trypost.{$this->value}_auth_enabled"); } }