From a5411cd5256fd0a2d00ecc3acfba541ae5576f17 Mon Sep 17 00:00:00 2001 From: Ike Kottlowski Date: Wed, 4 Jun 2025 23:31:54 -0400 Subject: [PATCH] doc: move summary xml comments to interface. --- src/Core/Auth/Services/IAuthRequestService.cs | 7 +++++++ .../Auth/Services/Implementations/AuthRequestService.cs | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/Core/Auth/Services/IAuthRequestService.cs b/src/Core/Auth/Services/IAuthRequestService.cs index 4e057f0ccf..181b7ab9bf 100644 --- a/src/Core/Auth/Services/IAuthRequestService.cs +++ b/src/Core/Auth/Services/IAuthRequestService.cs @@ -1,5 +1,6 @@ using Bit.Core.Auth.Entities; using Bit.Core.Auth.Models.Api.Request.AuthRequest; +using Bit.Core.Context; #nullable enable @@ -9,6 +10,12 @@ public interface IAuthRequestService { Task GetAuthRequestAsync(Guid id, Guid userId); Task GetValidatedAuthRequestAsync(Guid id, string code); + /// + /// Validates and Creates an in the database, as well as pushes it through notifications services + /// + /// + /// This method can only be called inside of an HTTP call because of it's reliance on + /// Task CreateAuthRequestAsync(AuthRequestCreateRequestModel model); Task UpdateAuthRequestAsync(Guid authRequestId, Guid userId, AuthRequestUpdateRequestModel model); } diff --git a/src/Core/Auth/Services/Implementations/AuthRequestService.cs b/src/Core/Auth/Services/Implementations/AuthRequestService.cs index 0fd1846d00..9f59242466 100644 --- a/src/Core/Auth/Services/Implementations/AuthRequestService.cs +++ b/src/Core/Auth/Services/Implementations/AuthRequestService.cs @@ -85,12 +85,6 @@ public class AuthRequestService : IAuthRequestService return authRequest; } - /// - /// Validates and Creates an in the database, as well as pushes it through notifications services - /// - /// - /// This method can only be called inside of an HTTP call because of it's reliance on - /// public async Task CreateAuthRequestAsync(AuthRequestCreateRequestModel model) { if (!_currentContext.DeviceType.HasValue)