Compare commits
No commits in common. "1d4bf2d0b6631f827bcbd9ed2fc5beb62aab9343" and "89a416ac38099b5acb53d017c2173d121ff9e1ea" have entirely different histories.
1d4bf2d0b6
...
89a416ac38
@ -12,7 +12,6 @@ using Microsoft.Extensions.DependencyInjection;
|
|||||||
using Microsoft.Extensions.Hosting;
|
using Microsoft.Extensions.Hosting;
|
||||||
using Microsoft.IdentityModel.Tokens;
|
using Microsoft.IdentityModel.Tokens;
|
||||||
using NSwag.Generation.Processors.Security;
|
using NSwag.Generation.Processors.Security;
|
||||||
using System;
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace Birdmap.API
|
namespace Birdmap.API
|
||||||
@ -72,7 +71,7 @@ namespace Birdmap.API
|
|||||||
{
|
{
|
||||||
opt.Title = "Birdmap";
|
opt.Title = "Birdmap";
|
||||||
opt.OperationProcessors.Add(new OperationSecurityScopeProcessor("Jwt Token"));
|
opt.OperationProcessors.Add(new OperationSecurityScopeProcessor("Jwt Token"));
|
||||||
opt.AddSecurity("Jwt Token", Array.Empty<string>(),
|
opt.AddSecurity("Jwt Token", new string[] { },
|
||||||
new NSwag.OpenApiSecurityScheme
|
new NSwag.OpenApiSecurityScheme
|
||||||
{
|
{
|
||||||
Type = NSwag.OpenApiSecuritySchemeType.ApiKey,
|
Type = NSwag.OpenApiSecuritySchemeType.ApiKey,
|
||||||
|
@ -19,7 +19,7 @@ namespace Birdmap.BLL.Services.CommunationServices.RabbitMq
|
|||||||
private readonly IConnectionFactory _factory;
|
private readonly IConnectionFactory _factory;
|
||||||
private readonly RabbitMqClientOptions _options;
|
private readonly RabbitMqClientOptions _options;
|
||||||
|
|
||||||
public override bool IsConnected => _connection.IsOpen;
|
public override bool IsConnected => throw new NotImplementedException();
|
||||||
|
|
||||||
public RabbitMqClientService(RabbitMqClientOptions options, ILogger<RabbitMqClientService> logger, IInputService inputService, IHubContext<DevicesHub, IDevicesHubClient> hubContext)
|
public RabbitMqClientService(RabbitMqClientOptions options, ILogger<RabbitMqClientService> logger, IInputService inputService, IHubContext<DevicesHub, IDevicesHubClient> hubContext)
|
||||||
: base(logger, inputService, hubContext)
|
: base(logger, inputService, hubContext)
|
||||||
|
Loading…
Reference in New Issue
Block a user