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