Skip to content

Commit a6e7998

Browse files
committed
adds auth for swagger
1 parent f1eae0c commit a6e7998

File tree

2 files changed

+22
-13
lines changed

2 files changed

+22
-13
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
using Umbraco.Cms.Api.Management.OpenApi;
2+
3+
namespace Umbraco.Cms.Integrations.Commerce.Shopify.Core.Api.Configuration;
4+
5+
public class BackOfficeSecurityRequirementsOperationFilter : BackOfficeSecurityRequirementsOperationFilterBase
6+
{
7+
protected override string ApiName => Constants.ManagementApi.ApiName;
8+
}

src/Umbraco.Cms.Integrations.Commerce.Shopify.Core.New/Umbraco.Cms.Integrations.Commerce.Shopify.Core.New.csproj

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,23 @@
66
<Nullable>enable</Nullable>
77
</PropertyGroup>
88

9-
<PropertyGroup>
10-
<PackageId>Umbraco.Cms.Integrations.Commerce.Shopify.Core</PackageId>
11-
<Title>Umbraco CMS Integrations: Commerce - Shopify.Core</Title>
12-
<Description>Core package for Umbraco CMS integration with Shopify.</Description>
13-
<PackageIconUrl></PackageIconUrl>
14-
<PackageProjectUrl>https://github.com/umbraco/Umbraco.Cms.Integrations/tree/main/src/Umbraco.Cms.Integrations.Crm.Hubspot</PackageProjectUrl>
15-
<RepositoryUrl>https://github.com/umbraco/Umbraco.Cms.Integrations</RepositoryUrl>
16-
<Version>5.0.0</Version>
17-
<Authors>Umbraco HQ</Authors>
18-
<Company>Umbraco</Company>
19-
</PropertyGroup>
9+
<PropertyGroup>
10+
<PackageId>Umbraco.Cms.Integrations.Commerce.Shopify.Core</PackageId>
11+
<Title>Umbraco CMS Integrations: Commerce - Shopify.Core</Title>
12+
<Description>Core package for Umbraco CMS integration with Shopify.</Description>
13+
<PackageIconUrl></PackageIconUrl>
14+
<PackageProjectUrl>https://github.com/umbraco/Umbraco.Cms.Integrations/tree/main/src/Umbraco.Cms.Integrations.Crm.Hubspot</PackageProjectUrl>
15+
<RepositoryUrl>https://github.com/umbraco/Umbraco.Cms.Integrations</RepositoryUrl>
16+
<Version>5.0.0</Version>
17+
<Authors>Umbraco HQ</Authors>
18+
<Company>Umbraco</Company>
19+
</PropertyGroup>
2020

2121
<ItemGroup>
2222
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.5" />
23-
<PackageReference Include="Umbraco.Cms.Web.Website" Version="[14.0.0,15)" />
24-
<PackageReference Include="Umbraco.Cms.Api.Common" Version="[14.0.0,15)" />
23+
<PackageReference Include="Umbraco.Cms.Web.Website" Version="[14.0.0,15)" />
24+
<PackageReference Include="Umbraco.Cms.Api.Common" Version="[14.0.0,15)" />
25+
<PackageReference Include="Umbraco.Cms.Api.Management" Version="[14.0.0,15)" />
2526
</ItemGroup>
2627

2728
</Project>

0 commit comments

Comments
 (0)