mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #29525 from nextcloud/bugfix/noid/allow-to-inject-by-public-interface
Allow to inject the trusted domain helper by public interface
This commit is contained in:
commit
b453fea4da
1 changed files with 2 additions and 0 deletions
|
|
@ -226,6 +226,7 @@ use OCP\Security\ICredentialsManager;
|
|||
use OCP\Security\ICrypto;
|
||||
use OCP\Security\IHasher;
|
||||
use OCP\Security\ISecureRandom;
|
||||
use OCP\Security\ITrustedDomainHelper;
|
||||
use OCP\Security\VerificationToken\IVerificationToken;
|
||||
use OCP\Share\IShareHelper;
|
||||
use OCP\SystemTag\ISystemTagManager;
|
||||
|
|
@ -968,6 +969,7 @@ class Server extends ServerContainer implements IServerContainer {
|
|||
$this->registerDeprecatedAlias('AsyncCommandBus', IBus::class);
|
||||
/** @deprecated 20.0.0 */
|
||||
$this->registerDeprecatedAlias('TrustedDomainHelper', TrustedDomainHelper::class);
|
||||
$this->registerAlias(ITrustedDomainHelper::class, TrustedDomainHelper::class);
|
||||
/** @deprecated 19.0.0 */
|
||||
$this->registerDeprecatedAlias('Throttler', Throttler::class);
|
||||
$this->registerService('IntegrityCodeChecker', function (ContainerInterface $c) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue