applicationType = $applicationType; return $this; } public function hasClientSecret(): bool { return ApplicationTypeEnum::SPA !== $this->applicationType; } }