1
0
mirror of https://github.com/bitwarden/server synced 2025-12-26 05:03:18 +00:00

chore: update LastActivityDate on installation token refresh (#5081)

This commit is contained in:
Addison Beck
2025-01-06 16:22:03 -05:00
committed by GitHub
parent cd7c4bf6ce
commit 90f7bfe63d
13 changed files with 229 additions and 7 deletions

View File

@@ -0,0 +1,19 @@
using Bit.Core.Platform.Installations;
using Microsoft.Extensions.DependencyInjection;
namespace Bit.Core.Platform;
public static class PlatformServiceCollectionExtensions
{
/// <summary>
/// Extend DI to include commands and queries exported from the Platform
/// domain.
/// </summary>
public static IServiceCollection AddPlatformServices(this IServiceCollection services)
{
services.AddScoped<IGetInstallationQuery, GetInstallationQuery>();
services.AddScoped<IUpdateInstallationCommand, UpdateInstallationCommand>();
return services;
}
}