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; }
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; }