Exemplo n.º 1
0
 public AuthStatusCommand(IOptions <OspToolOptions> options, IOptions <OspToolAuthenticationOptions> authenticationOptions, IAuthenticatorClient authenticatorClient, IAuthenticationService authenticationService)
     : base("AuthStatus", "Gets authentication status to the configured identity services.", options)
 {
     _authenticationOptions = authenticationOptions;
     _authenticatorClient   = authenticatorClient;
     _authenticationService = authenticationService;
 }
Exemplo n.º 2
0
 public LogInCommand(IOptions <OspToolOptions> options, IOptions <OspToolAuthenticationOptions> authenticationOptions, IAuthenticatorClient authenticatorClient,
                     IAuthenticationService authenticationService)
     : base("LogIn", "LogIn to the configured identity services.", options)
 {
     _authenticationOptions = authenticationOptions;
     _authenticatorClient   = authenticatorClient;
     _authenticationService = authenticationService;
 }
 public AuthenticationService(IOptions <OspToolAuthenticationOptions> authenticationOptions, IAuthenticatorClient authenticatorClient, IConfigWriter configWriter)
 {
     _authenticationOptions = authenticationOptions;
     _authenticatorClient   = authenticatorClient;
     _configWriter          = configWriter;
 }