summaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/AppFramework')
-rw-r--r--lib/private/AppFramework/DependencyInjection/DIContainer.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php
index 0879b3e9330..5a350bbec5a 100644
--- a/lib/private/AppFramework/DependencyInjection/DIContainer.php
+++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php
@@ -342,6 +342,13 @@ class DIContainer extends SimpleContainer implements IAppContainer {
return $c->query(Validator::class);
});
+ $this->registerService(\OC\Security\IdentityProof\Manager::class, function ($c) {
+ return new \OC\Security\IdentityProof\Manager(
+ $this->getServer()->getAppDataDir('identityproof'),
+ $this->getServer()->getCrypto()
+ );
+ });
+
/**
* App Framework APIs