Prevent users from using Element FOSS on homeservers that enforce the usage of Element Pro.

This commit is contained in:
Benoit Marty 2025-08-05 16:55:39 +02:00
parent bfdcc97985
commit 89ef890a7c
24 changed files with 556 additions and 36 deletions

View file

@ -0,0 +1,12 @@
/*
* Copyright 2025 New Vector Ltd.
*
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.features.login.api.accesscontrol
interface AccountProviderAccessControl {
suspend fun isAllowedToConnectToAccountProvider(accountProviderUrl: String): Boolean
}