mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-13 16:40:01 +00:00
Remove unused endpoints
This commit is contained in:
@@ -43,19 +43,6 @@ class ConfigEndpoint(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Specific read-only endpoints for all users **/
|
/** 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
|
@DynamicPublicAccess
|
||||||
@AnonymousAllowed
|
@AnonymousAllowed
|
||||||
fun areGameRequestsEnabled(): Boolean = configService.get(ConfigProperties.Requests.Games.Enabled) == true
|
fun areGameRequestsEnabled(): Boolean = configService.get(ConfigProperties.Requests.Games.Enabled) == true
|
||||||
|
|||||||
Reference in New Issue
Block a user