From b034fd3ce71296ad5a5506cb1166f69cd5a1e3a0 Mon Sep 17 00:00:00 2001 From: grimsi <9295182+grimsi@users.noreply.github.com> Date: Mon, 29 Sep 2025 13:30:52 +0200 Subject: [PATCH] Remove unused endpoints --- .../org/gameyfin/app/config/ConfigEndpoint.kt | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/app/src/main/kotlin/org/gameyfin/app/config/ConfigEndpoint.kt b/app/src/main/kotlin/org/gameyfin/app/config/ConfigEndpoint.kt index 67b11ff..f243112 100644 --- a/app/src/main/kotlin/org/gameyfin/app/config/ConfigEndpoint.kt +++ b/app/src/main/kotlin/org/gameyfin/app/config/ConfigEndpoint.kt @@ -43,19 +43,6 @@ class ConfigEndpoint( } /** Specific read-only endpoints for all users **/ - - @DynamicPublicAccess - @AnonymousAllowed - fun isSsoEnabled(): Boolean = configService.get(ConfigProperties.SSO.OIDC.Enabled) == true - - @DynamicPublicAccess - @AnonymousAllowed - fun getSsoLogoutUrl(): String? = configService.get(ConfigProperties.SSO.OIDC.LogoutUrl) - - @DynamicPublicAccess - @AnonymousAllowed - fun isPublicAccessEnabled(): Boolean = configService.get(ConfigProperties.Libraries.AllowPublicAccess) == true - @DynamicPublicAccess @AnonymousAllowed fun areGameRequestsEnabled(): Boolean = configService.get(ConfigProperties.Requests.Games.Enabled) == true