X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FMON.git;a=blobdiff_plain;f=osm_mon%2Fcore%2Fauth.py;h=4627a30c7a9e5d218a68149506723e0f166b193c;hp=71a817e22efc15eb2179bf52d8952b510314f82e;hb=5ac7c081ca13495185ecf6bdf302c16c25a4b759;hpb=b525e6c8619d494d4e254def394cf5b62de4df4a diff --git a/osm_mon/core/auth.py b/osm_mon/core/auth.py index 71a817e..4627a30 100644 --- a/osm_mon/core/auth.py +++ b/osm_mon/core/auth.py @@ -25,14 +25,16 @@ import json import logging +from osm_mon.core.config import Config + from osm_mon.core.database import VimCredentials, DatabaseManager log = logging.getLogger(__name__) class AuthManager: - def __init__(self): - self.database_manager = DatabaseManager() + def __init__(self, config: Config): + self.database_manager = DatabaseManager(config) def store_auth_credentials(self, creds_dict): log.info(creds_dict)