Skip to content

Commit 499ecdd

Browse files
authored
Improve open-source project readiness and compliance (#84)
* Improve open-source project readiness and compliance * Moving To AwesomeAssertions From FluentAssertions * Copyright & Contributing Text Changes
1 parent 4d8c517 commit 499ecdd

216 files changed

Lines changed: 373 additions & 3772 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/nuget-publish.yml‎

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,12 @@ jobs:
6060
/p:IncludeSymbols=true \
6161
/p:SymbolPackageFormat=snupkg
6262
63-
- name: Verify packages
63+
- name: Verify packages and symbols
6464
shell: bash
6565
run: |
66+
set -euo pipefail
6667
shopt -s nullglob
68+
6769
packages=(./nupkgs/*.nupkg)
6870
6971
if (( ${#packages[@]} == 0 )); then
@@ -78,9 +80,18 @@ jobs:
7880
echo "::error::Unexpected package version: $f"
7981
exit 1
8082
fi
83+
84+
symbols="${f%.nupkg}.snupkg"
85+
86+
if [[ ! -s "$symbols" ]]; then
87+
echo "::error::Missing or empty symbols package: $symbols"
88+
exit 1
89+
fi
90+
91+
echo "Validated: $f + $symbols"
8192
done
8293
83-
echo "Validated ${#packages[@]} packages for version $VERSION"
94+
echo "Validated ${#packages[@]} packages and symbols."
8495
8596
- name: NuGet login (Trusted Publishing)
8697
uses: NuGet/login@v1

‎CONTRIBUTING.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,18 @@ UltimateAuth is licensed under the [Apache License 2.0](LICENSE.txt). By contrib
8282

8383
If a separate contributor agreement is introduced, its requirements will be documented before enforcement.
8484

85+
## Contributor License Agreement (CLA)
86+
87+
UltimateAuth welcomes contributions from the open-source community.
88+
89+
Contributors retain copyright ownership of their original contributions unless otherwise agreed in writing.
90+
91+
By submitting a contribution, contributors agree that their contributions are provided under the project's Apache License, Version 2.0, and confirm that they have the necessary rights to submit them.
92+
93+
UltimateAuth intends to adopt the .NET Foundation Contributor License Agreement (CLA) process if accepted as a .NET Foundation project.
94+
95+
Once the CLA process is implemented, contributors may be required to sign the applicable agreement before their pull requests can be merged.
96+
8597
## A welcoming community
8698

8799
Be respectful, assume good intentions, and help others learn. Different experience levels and perspectives make the project better.

‎COPYRIGHT.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright and Ownership
2+
3+
Copyright © 2026 Mehmet Can Karagöz and contributors.
4+
5+
UltimateAuth is an open-source project developed and maintained under the CodeBeam name.
6+
7+
CodeBeam serves as the project's publishing identity and GitHub organization and is not a separate legal entity.
8+
9+
The original source code of UltimateAuth is copyrighted by Mehmet Can Karagöz. Contributors retain copyright ownership of their respective original contributions unless otherwise agreed in writing.
10+
11+
Contributions are incorporated into UltimateAuth under the Apache License, Version 2.0, and any applicable Contributor License Agreement (CLA).
12+
13+
See [LICENSE.txt](LICENSE.txt) for the project's license terms and [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines.

‎README.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@
88
![GitHub stars](https://img.shields.io/github/stars/CodeBeamOrg/UltimateAuth?style=flat&logo=github)
99
![Last Commit](https://img.shields.io/github/last-commit/CodeBeamOrg/UltimateAuth?branch=dev&logo=github)
1010
![License](https://img.shields.io/github/license/CodeBeamOrg/UltimateAuth)
11-
[![Discord](https://img.shields.io/discord/1459498792192839774?color=%237289da&label=Discord&logo=discord&logoColor=%237289da&style=flat-square)](https://discord.gg/QscA86dXSR)
11+
[![Discord](https://img.shields.io/badge/Discord-Join-5865F2?style=flat-square&logo=discord&logoColor=white)](https://discord.gg/QscA86dXSR)
1212
[![codecov](https://codecov.io/gh/CodeBeamOrg/UltimateAuth/branch/dev/graph/badge.svg)](https://codecov.io/gh/CodeBeamOrg/UltimateAuth)
1313
[![NuGet version](https://img.shields.io/nuget/v/CodeBeam.UltimateAuth.Core?color=512bd4&label=nuget%20version&logo=nuget&style=flat-square)](https://www.nuget.org/packages/CodeBeam.UltimateAuth.Core)
1414
[![NuGet downloads](https://img.shields.io/nuget/dt/CodeBeam.UltimateAuth.Core?color=512bd4&label=nuget%20downloads&logo=nuget&style=flat-square)](https://www.nuget.org/packages/CodeBeam.UltimateAuth.Core)
15+
<!-- Dynamic Discord badge (enable when community grows)
16+
[![Discord](https://img.shields.io/discord/1459498792192839774?color=%237289da&label=Discord&logo=discord&logoColor=%237289da&style=flat-square)](https://discord.gg/QscA86dXSR)
17+
-->
18+
1519

1620
## 📑 Table of Contents
1721

‎docs/content/getting-started/quickstart.md‎

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ using CodeBeam.UltimateAuth.Server.Extensions;
7575
After creating the builder, register UltimateAuth:
7676

7777
```csharp
78-
builder.Services
79-
.AddUltimateAuthServer()
78+
builder.Services.AddUltimateAuthServer()
8079
.AddUltimateAuthInMemory();
8180

8281
builder.Services.AddUltimateAuthClientBlazor();
@@ -152,15 +151,22 @@ Place these near the end of the document body.
152151

153152
UltimateAuth's Blazor integration uses this script for browser-side functionality.
154153

155-
## 6. Initialize the UltimateAuth Application
154+
## 6. Add Usings
155+
156+
Add this in `_Imports.razor`
157+
158+
```razor
159+
@using CodeBeam.UltimateAuth.Client
160+
@using CodeBeam.UltimateAuth.Client.Blazor
161+
```
162+
163+
## 7. Initialize the UltimateAuth Application
156164

157165
Open `Components/Routes.razor`.
158166

159167
Replace its contents with:
160168

161169
```razor
162-
@using CodeBeam.UltimateAuth.Client.Blazor
163-
164170
<UAuthApp UseBuiltInRouter="true" AppAssembly="typeof(Program).Assembly" DefaultLayout="typeof(Layout.MainLayout)" />
165171
```
166172

@@ -172,15 +178,6 @@ With `UseBuiltInRouter="true"`, it also provides the application's router.
172178

173179
You don't need to create a separate `Router` or `CascadingAuthenticationState` component for this setup.
174180

175-
## 7. Add Usings
176-
177-
Add this in `_Imports.razor`
178-
179-
```razor
180-
@using CodeBeam.UltimateAuth.Client
181-
@using CodeBeam.UltimateAuth.Client.Blazor
182-
```
183-
184181
## 8. Create Your Login Page
185182

186183
Change `Components/Pages/Home.razor`:

‎docs/website/CodeBeam.UltimateAuth.Docs.Wasm/CodeBeam.UltimateAuth.Docs.Wasm.Client/wwwroot/docs/auth-flows/device-management.json‎

Lines changed: 0 additions & 97 deletions
This file was deleted.

‎docs/website/CodeBeam.UltimateAuth.Docs.Wasm/CodeBeam.UltimateAuth.Docs.Wasm.Client/wwwroot/docs/auth-flows/index.json‎

Lines changed: 0 additions & 87 deletions
This file was deleted.

‎docs/website/CodeBeam.UltimateAuth.Docs.Wasm/CodeBeam.UltimateAuth.Docs.Wasm.Client/wwwroot/docs/auth-flows/login-flow.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,7 @@
9393
"Text": "Next step",
9494
"Level": 0
9595
}
96-
]
96+
],
97+
"SourceHash": "95831894EDF3C21F6C20A367A9445C3173282799B50704499768BEAD96F51864",
98+
"BuilderVersion": "1"
9799
}

‎docs/website/CodeBeam.UltimateAuth.Docs.Wasm/CodeBeam.UltimateAuth.Docs.Wasm.Client/wwwroot/docs/auth-flows/logout-flow.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,5 +153,7 @@
153153
"Text": "\u27A1\uFE0F Next step",
154154
"Level": 0
155155
}
156-
]
156+
],
157+
"SourceHash": "16E601FE603117928E01E64029AC1BDF0F5AD93F8108808F07817D0A2EB608CE",
158+
"BuilderVersion": "1"
157159
}

‎docs/website/CodeBeam.UltimateAuth.Docs.Wasm/CodeBeam.UltimateAuth.Docs.Wasm.Client/wwwroot/docs/auth-flows/overview.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,7 @@
8383
"Text": "Next step",
8484
"Level": 0
8585
}
86-
]
86+
],
87+
"SourceHash": "A2EB72E76BD9E836BEF7240D2D1FD72BF16C85F7D73C85160CFD908E689DDD4E",
88+
"BuilderVersion": "1"
8789
}

0 commit comments

Comments
 (0)