Skip to content
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
35 changes: 35 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
root = true

[*.cs]
resharper_arrange_object_creation_when_type_evident_highlighting = hint
resharper_auto_property_can_be_made_get_only_global_highlighting = hint
resharper_check_namespace_highlighting = hint
resharper_class_never_instantiated_global_highlighting = hint
resharper_class_never_instantiated_local_highlighting = hint
resharper_collection_never_updated_global_highlighting = hint
resharper_convert_type_check_pattern_to_null_check_highlighting = hint
resharper_inconsistent_naming_highlighting = hint
resharper_member_can_be_private_global_highlighting = hint
resharper_member_hides_static_from_outer_class_highlighting = hint
resharper_not_accessed_field_local_highlighting = hint
resharper_nullable_warning_suppression_is_used_highlighting = suggestion
resharper_partial_type_with_single_part_highlighting = hint
resharper_prefer_concrete_value_over_default_highlighting = none
resharper_private_field_can_be_converted_to_local_variable_highlighting = hint
resharper_property_can_be_made_init_only_global_highlighting = hint
resharper_property_can_be_made_init_only_local_highlighting = hint
resharper_redundant_name_qualifier_highlighting = none
resharper_redundant_using_directive_highlighting = hint
resharper_replace_slice_with_range_indexer_highlighting = none
resharper_unused_auto_property_accessor_global_highlighting = hint
resharper_unused_auto_property_accessor_local_highlighting = hint
resharper_unused_member_global_highlighting = hint
resharper_unused_type_global_highlighting = hint
resharper_use_string_interpolation_highlighting = hint
dotnet_diagnostic.CS1591.severity = suggestion

[src/**/Types/*.cs]
resharper_check_namespace_highlighting = none

[src/**/Core/Public/*.cs]
resharper_check_namespace_highlighting = none
22 changes: 22 additions & 0 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"cliVersion": "3.60.1",
"generatorName": "fernapi/fern-csharp-sdk",
"generatorVersion": "2.20.3",
"generatorConfig": {
"namespace": "Auth0.ManagementApi",
"package-id": "Auth0.ManagementApi",
"client-class-name": "ManagementApiClient",
"base-api-exception-class-name": "ManagementApiException",
"base-exception-class-name": "ManagementException",
"generate-mock-server-tests": true,
"use-default-request-parameter-values": true,
"experimental-explicit-nullable-optional": true,
"use-undiscriminated-unions": true,
"output-path": {
"library": "src",
"test": "tests",
"solution": "."
}
},
"sdkVersion": "0.0.1662"
}
45 changes: 45 additions & 0 deletions .fernignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Specify files that shouldn't be modified by Fern
.github
.gitattributes
.gitignore
.semgrepignore
.shiprc
.snyk
.version

build
docs
docs-source

Auth0.Net.sln
CHANGELOG.md
DEVELOPMENT.md
Examples.md
LICENSE
opslevel.yml
README.md
SECURITY-NOTICE.md
V8_MIGRATION_GUIDE.md

Auth0.ManagementApi.slnx
Auth0.Net.slnx

src/Auth0.AuthenticationApi
src/Auth0.Core
src/Directory.Build.props
src/Auth0.ManagementApi/Auth0.ManagementApi.Custom.props
src/Auth0.ManagementApi/.shiprc
src/Auth0.ManagementApi/.version

tests/Auth0.AuthenticationApi.IntegrationTests
tests/Auth0.Core.UnitTests
tests/Auth0.IntegrationTests.Shared
tests/Auth0.ManagementApi.IntegrationTests
tests/Auth0.ManagementApi.Test/Auth0.ManagementApi.Test.Custom.props
tests/Auth0.ManagementApi.Test/Unit/MockServer/Auth0ClientHeaderTest.cs
tests/Auth0.ManagementApi.Test/Wrapper

src/Auth0.ManagementApi/Core/RawClient.cs
src/Auth0.ManagementApi/ManagementApiClient.cs
src/Auth0.ManagementApi/Types/ResourceServerTokenEncryptionKey.cs
src/Auth0.ManagementApi/Wrapper
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,10 @@ jobs:
path: .
key: ${{ env.CACHE_KEY }}
- name: Test Management API
run: dotnet test tests/Auth0.ManagementApi.IntegrationTests/Auth0.ManagementApi.IntegrationTests.csproj --collect:"XPlat Code coverage" --results-directory ./TestResults/ /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura

run: |
dotnet test tests/Auth0.ManagementApi.IntegrationTests/Auth0.ManagementApi.IntegrationTests.csproj --collect:"XPlat Code coverage" --results-directory ./TestResults/ /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura && \
dotnet test tests/Auth0.ManagementApi.Test/Auth0.ManagementApi.Test.csproj --collect:"XPlat Code coverage" --results-directory ./TestResults/ /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura

- name: Update codecov report
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # pin@5.5.2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- if: github.actor == 'dependabot[bot]' || github.event_name == 'merge_group'
run: exit 0 # Skip unnecessary test runs for dependabot and merge queues. Artifically flag as successful, as this is a required check for branch protection.

- uses: actions/checkout@v6
- uses: actions/checkout@v5
with:
ref: ${{ github.event.pull_request.merge_commit_sha || github.ref }}

Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Auth0.Net-tests/App.config
client-secrets.json
tools/*
Auth0.Net.slnx

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
Expand Down Expand Up @@ -351,4 +352,6 @@ MigrationBackup/
# Intell-J Rider etc.
.idea/*

.vscode/*
.vscode/*
.DS_Store
.idea
21 changes: 14 additions & 7 deletions Auth0.Net.sln
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Auth0.Core", "src\Auth0.Core\Auth0.Core.csproj", "{0F45514D-6CF8-4962-8FED-BE000AE6FD09}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Auth0.ManagementApi", "src\Auth0.ManagementApi\Auth0.ManagementApi.csproj", "{78B2102E-B5F2-4C35-A485-BFAC3576C6DD}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Auth0.AuthenticationApi", "src\Auth0.AuthenticationApi\Auth0.AuthenticationApi.csproj", "{DB8AFC1D-2A56-4CF4-9F54-7B7511B674ED}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Auth0.Core.UnitTests", "tests\Auth0.Core.UnitTests\Auth0.Core.UnitTests.csproj", "{49CFAA66-C4A3-45DA-AD10-DBE9B5B35F2B}"
Expand All @@ -28,6 +26,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Auth0.ManagementApi.Integra
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Auth0.IntegrationTests.Shared", "tests\Auth0.IntegrationTests.Shared\Auth0.IntegrationTests.Shared.csproj", "{7AE5A1C8-19E6-4BC9-8B11-9B8921C85FE2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Auth0.ManagementApi.Test", "tests\Auth0.ManagementApi.Test\Auth0.ManagementApi.Test.csproj", "{D2751BB3-1E06-46BF-916E-029DA2623354}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Auth0.ManagementApi", "src\Auth0.ManagementApi\Auth0.ManagementApi.csproj", "{31ABA338-13AB-4DED-8E29-4119867DBDFD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -38,10 +40,6 @@ Global
{0F45514D-6CF8-4962-8FED-BE000AE6FD09}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0F45514D-6CF8-4962-8FED-BE000AE6FD09}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0F45514D-6CF8-4962-8FED-BE000AE6FD09}.Release|Any CPU.Build.0 = Release|Any CPU
{78B2102E-B5F2-4C35-A485-BFAC3576C6DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{78B2102E-B5F2-4C35-A485-BFAC3576C6DD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{78B2102E-B5F2-4C35-A485-BFAC3576C6DD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{78B2102E-B5F2-4C35-A485-BFAC3576C6DD}.Release|Any CPU.Build.0 = Release|Any CPU
{DB8AFC1D-2A56-4CF4-9F54-7B7511B674ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DB8AFC1D-2A56-4CF4-9F54-7B7511B674ED}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DB8AFC1D-2A56-4CF4-9F54-7B7511B674ED}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -62,18 +60,27 @@ Global
{7AE5A1C8-19E6-4BC9-8B11-9B8921C85FE2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7AE5A1C8-19E6-4BC9-8B11-9B8921C85FE2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7AE5A1C8-19E6-4BC9-8B11-9B8921C85FE2}.Release|Any CPU.Build.0 = Release|Any CPU
{D2751BB3-1E06-46BF-916E-029DA2623354}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D2751BB3-1E06-46BF-916E-029DA2623354}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D2751BB3-1E06-46BF-916E-029DA2623354}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D2751BB3-1E06-46BF-916E-029DA2623354}.Release|Any CPU.Build.0 = Release|Any CPU
{31ABA338-13AB-4DED-8E29-4119867DBDFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{31ABA338-13AB-4DED-8E29-4119867DBDFD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{31ABA338-13AB-4DED-8E29-4119867DBDFD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{31ABA338-13AB-4DED-8E29-4119867DBDFD}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{0F45514D-6CF8-4962-8FED-BE000AE6FD09} = {C9550C3F-90EB-42C0-B530-E728566A13C2}
{78B2102E-B5F2-4C35-A485-BFAC3576C6DD} = {C9550C3F-90EB-42C0-B530-E728566A13C2}
{DB8AFC1D-2A56-4CF4-9F54-7B7511B674ED} = {C9550C3F-90EB-42C0-B530-E728566A13C2}
{49CFAA66-C4A3-45DA-AD10-DBE9B5B35F2B} = {0EBAD055-E431-443B-8212-411D1AFE3796}
{72307777-1064-4E95-95FC-957FBDF117B2} = {0EBAD055-E431-443B-8212-411D1AFE3796}
{AE75D5CF-1AB0-4630-B53C-EA6C7347A114} = {0EBAD055-E431-443B-8212-411D1AFE3796}
{7AE5A1C8-19E6-4BC9-8B11-9B8921C85FE2} = {0EBAD055-E431-443B-8212-411D1AFE3796}
{D2751BB3-1E06-46BF-916E-029DA2623354} = {0EBAD055-E431-443B-8212-411D1AFE3796}
{31ABA338-13AB-4DED-8E29-4119867DBDFD} = {C9550C3F-90EB-42C0-B530-E728566A13C2}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {8B26058B-3755-4E47-AE0B-350E5B18A4CD}
Expand Down
Loading
Loading