public AddToken( ISecretStorage secretStorage, IAccessTokenSerializer accessTokenSerializer, IOptions <PathConfig> pathConfig, IKeyHandlerFactory keyHandlerFactory ) { _secretStorage = secretStorage; _accessTokenSerializer = accessTokenSerializer; _keyHandlerFactory = keyHandlerFactory; _pathConfig = pathConfig.Value; }
public Program(IKeyHandlerFactory keyHandlerFactory, IServiceProvider provider) { _keyHandlerFactory = keyHandlerFactory; _provider = provider; }