Skip to content
This repository was archived by the owner on Sep 26, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/Server/Configuration/DatabaseInitializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ namespace Octopus.Server.Extensibility.Authentication.Guest.Configuration
{
class DatabaseInitializer : ExecuteWhenDatabaseInitializes
{
readonly ILog log;
readonly ISystemLog log;
readonly IWritableKeyValueStore settings;
readonly IConfigurationStore configurationStore;
readonly IGuestUserStateChecker guestUserStateChecker;

private bool cleanupRequired = false;

public DatabaseInitializer(ILog log, IWritableKeyValueStore settings, IConfigurationStore configurationStore, IGuestUserStateChecker guestUserStateChecker)
public DatabaseInitializer(ISystemLog log, IWritableKeyValueStore settings, IConfigurationStore configurationStore, IGuestUserStateChecker guestUserStateChecker)
{
this.log = log;
this.settings = settings;
Expand Down
6 changes: 3 additions & 3 deletions source/Server/Configuration/GuestConfigureCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ namespace Octopus.Server.Extensibility.Authentication.Guest.Configuration
{
class GuestConfigureCommands : IContributeToConfigureCommand
{
readonly ILog log;
readonly ISystemLog log;
readonly Lazy<IGuestConfigurationStore> configurationStore;

public GuestConfigureCommands(
ILog log,
ISystemLog log,
Lazy<IGuestConfigurationStore> configurationStore)
{
this.log = log;
Expand All @@ -25,7 +25,7 @@ public IEnumerable<ConfigureCommandOption> GetOptions()
var isEnabled = bool.Parse(v);
configurationStore.Value.SetIsEnabled(isEnabled);
log.Info($"Guest login enabled: {isEnabled}");
});
});
}
}
}
4 changes: 2 additions & 2 deletions source/Server/GuestAuth/GuestCredentialValidator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ namespace Octopus.Server.Extensibility.Authentication.Guest.GuestAuth
{
class GuestCredentialValidator : IGuestCredentialValidator
{
readonly ILog log;
readonly ISystemLog log;
readonly IUserStore userStore;
readonly IGuestConfigurationStore configurationStore;

public GuestCredentialValidator(
ILog log,
ISystemLog log,
IUserStore userStore,
IGuestConfigurationStore configurationStore)
{
Expand Down
4 changes: 2 additions & 2 deletions source/Server/GuestAuth/GuestUserStateChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ namespace Octopus.Server.Extensibility.Authentication.Guest.GuestAuth
{
class GuestUserStateChecker : IGuestUserStateChecker
{
readonly ILog log;
readonly ISystemLog log;
readonly IUpdateableUserStore userStore;

public GuestUserStateChecker(ILog log, IUpdateableUserStore userStore)
public GuestUserStateChecker(ISystemLog log, IUpdateableUserStore userStore)
{
this.log = log;
this.userStore = userStore;
Expand Down
4 changes: 2 additions & 2 deletions source/Server/Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

<ItemGroup>
<PackageReference Include="Octopus.Configuration" Version="3.0.0" />
<PackageReference Include="Octopus.Diagnostics" Version="1.3.5" />
<PackageReference Include="Octopus.Server.Extensibility" Version="10.0.4" />
<PackageReference Include="Octopus.Diagnostics" Version="2.1.0" />
<PackageReference Include="Octopus.Server.Extensibility" Version="13.0.0" />
<PackageReference Include="Octopus.Server.Extensibility.Authentication" Version="10.0.1" />
</ItemGroup>

Expand Down