public BrokeredAuthenticationService(IApplicationRegisterService applicationRegisterService, IEnvironmentService environmentService) { this.applicationRegisterService = applicationRegisterService; this.environmentService = environmentService; settings = SettingsManager.ProviderSettings; sessionService = SessionsManager.ProviderSessionService; }
/// <summary> /// Create an instance of this service. /// </summary> /// <param name="applicationRegisterService">Application register service.</param> /// <param name="environmentService">Environment service.</param> /// <param name="settings">Framework settings service.</param> /// <param name="sessionService">Session service.</param> /// <exception cref="ArgumentNullException">A passed parameter is null.</exception> public BrokeredAuthenticationService( IApplicationRegisterService applicationRegisterService, IEnvironmentService environmentService, IFrameworkSettings settings, ISessionService sessionService) { this.applicationRegisterService = applicationRegisterService ?? throw new ArgumentNullException(nameof(applicationRegisterService)); this.environmentService = environmentService ?? throw new ArgumentNullException(nameof(environmentService)); this.settings = settings ?? throw new ArgumentNullException(nameof(settings)); this.sessionService = sessionService ?? throw new ArgumentNullException(nameof(sessionService)); }
public BrokeredAuthenticationService( IApplicationRegisterService applicationRegisterService, IEnvironmentService environmentService, IFrameworkSettings settings, ISessionService sessionService) { this.applicationRegisterService = applicationRegisterService; this.environmentService = environmentService; this.settings = settings; this.sessionService = sessionService; }
public DirectAuthenticationService(IApplicationRegisterService applicationRegisterService, IEnvironmentService environmentService) { this.applicationRegisterService = applicationRegisterService; this.environmentService = environmentService; }