Skip to content

Commit 39782ae

Browse files
committed
- Checkpoint: Add project code
1 parent bc68871 commit 39782ae

Some content is hidden

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

46 files changed

+80
-77
lines changed

.github/workflows/PR-CI.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
beta_Version: ${{ steps.gitversion.outputs.nuGetVersion }}
3131
branchName: ${{ steps.gitversion.outputs.branchName }}
3232
env:
33-
working-directory: /home/runner/work/SAML2.Net/SAML2.Net
33+
working-directory: /home/runner/work/Secure.SAML/Secure.SAML
3434

3535
steps:
3636
- name: Step-01 Install GitVersion
@@ -87,7 +87,7 @@ jobs:
8787
env:
8888
github-token: '${{ secrets.GH_Packages }}'
8989
nuget-token: '${{ secrets.NUGET_API_KEY }}'
90-
working-directory: /home/runner/work/SAML2.Net/SAML2.Net
90+
working-directory: /home/runner/work/Secure.SAML/Secure.SAML
9191
steps:
9292
- name: Step-01 Retrieve Build Artifacts
9393
uses: actions/download-artifact@v4
@@ -108,7 +108,7 @@ jobs:
108108
runs-on: ubuntu-latest
109109
env:
110110
nuget-token: '${{ secrets.NUGET_API_KEY }}'
111-
working-directory: /home/runner/work/SAML2.Net/SAML2.Net
111+
working-directory: /home/runner/work/Secure.SAML/Secure.SAML
112112
steps:
113113
- name: Step-01 Retrieve Build Artifacts
114114
uses: actions/download-artifact@v4
@@ -117,5 +117,5 @@ jobs:
117117
path: ${{env.working-directory}}
118118
- name: Step-03 Release to Nuget Org
119119
if: ${{ startsWith(github.head_ref, 'release/')}}
120-
run: dotnet nuget push ${{env.working-directory}}/src/SAML2.Net/bin/Release/*.nupkg --skip-duplicate --api-key ${{ env.nuget-token }} --source https://api.nuget.org/v3/index.json
120+
run: dotnet nuget push ${{env.working-directory}}/src/Secure.SAML/bin/Release/*.nupkg --skip-duplicate --api-key ${{ env.nuget-token }} --source https://api.nuget.org/v3/index.json
121121

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# <img src="https://github.com/CodeShayk/SAML2.Net/blob/master/images/ninja-icon-16.png" alt="ninja" style="width:30px;"/> SAML2.Net v1.0.0
2-
[![NuGet version](https://badge.fury.io/nu/SAML2.Net.svg)](https://badge.fury.io/nu/SAML2.Net) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/NinjaRocks/SAML2.Net/blob/master/License.md)
3-
[![Build](https://github.com/CodeShayk/SAML2.Net/actions/workflows/Master-Build.yml/badge.svg)](https://github.com/CodeShayk/SAML2.Net/actions/workflows/Master-Build.yml)
4-
[![CodeQL](https://github.com/CodeShayk/SAML2.Net/actions/workflows/Master-CodeQL.yml/badge.svg)](https://github.com/CodeShayk/SAML2.Net/actions/workflows/Master-CodeQL.yml)
5-
[![GitHub Release](https://img.shields.io/github/v/release/ninjarocks/SAML2.Net?logo=github&sort=semver)](https://github.com/ninjarocks/SAML2.Net/releases/latest)
1+
# <img src="https://github.com/CodeShayk/Secure.SAML/blob/master/images/ninja-icon-16.png" alt="ninja" style="width:30px;"/> Secure.SAML v4.5.0
2+
[![NuGet version](https://badge.fury.io/nu/Secure.SAML.svg)](https://badge.fury.io/nu/Secure.SAML) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/NinjaRocks/Secure.SAML/blob/master/License.md)
3+
[![Build](https://github.com/CodeShayk/Secure.SAML/actions/workflows/Master-Build.yml/badge.svg)](https://github.com/CodeShayk/Secure.SAML/actions/workflows/Master-Build.yml)
4+
[![CodeQL](https://github.com/CodeShayk/Secure.SAML/actions/workflows/Master-CodeQL.yml/badge.svg)](https://github.com/CodeShayk/Secure.SAML/actions/workflows/Master-CodeQL.yml)
5+
[![GitHub Release](https://img.shields.io/github/v/release/ninjarocks/Secure.SAML?logo=github&sort=semver)](https://github.com/ninjarocks/Secure.SAML/releases/latest)
66
[![.Net 9.0](https://img.shields.io/badge/.Net-9.0-blue)](https://dotnet.microsoft.com/en-us/download/dotnet/9.0)
77
[![.Net Standard 2.1](https://img.shields.io/badge/.Net_Standard-2.1-blue)](https://github.com/dotnet/standard/blob/v2.0.0/docs/versions/netstandard2.1.md)
88
[![.Net Standard 2.0](https://img.shields.io/badge/.Net_Standard-2.0-blue)](https://github.com/dotnet/standard/blob/v2.0.0/docs/versions/netstandard2.0.md)
@@ -12,12 +12,12 @@
1212

1313
### Getting Started?
1414
#### i. Installation
15-
Install the latest version of `SAML2.Net` nuget package with command below.
15+
Install the latest version of `Secure.SAML` nuget package with command below.
1616

1717
```
18-
NuGet\Install-Package SAML2.Net
18+
NuGet\Install-Package Secure.SAML
1919
```
20-
#### ii. Implementation: Using `SAML2.Net`
20+
#### ii. Implementation: Using `Secure.SAML`
2121

2222
You can use this .Net library to generate signed SAML 2.0 Response with following parameters below-
2323

@@ -130,7 +130,7 @@ Example Generated SAML :-
130130
```
131131
## Support
132132

133-
If you are having problems, please let me know by [raising a new issue](https://github.com/CodeShayk/SAML2.Net/issues/new/choose).
133+
If you are having problems, please let me know by [raising a new issue](https://github.com/CodeShayk/Secure.SAML/issues/new/choose).
134134

135135
## License
136136

@@ -140,7 +140,7 @@ This project is licensed with the [MIT license](LICENSE).
140140
The main branch is now on .NET 9.0.
141141
| Version | Release Notes |
142142
| -------- | --------|
143-
| [`v1.0.0`](https://github.com/CodeShayk/SAML2.Net/tree/release/v1.0.0) | [Notes](https://github.com/CodeShayk/SAML2.Net/releases/tag/v1.0.0) |
143+
| [`v1.0.0`](https://github.com/CodeShayk/Secure.SAML/tree/release/v1.0.0) | [Notes](https://github.com/CodeShayk/Secure.SAML/releases/tag/v1.0.0) |
144144

145145
## Credits
146146
Thank you for reading. Please fork, explore, contribute and report. Happy Coding !! :)

SAML2.Net.sln renamed to Secure.SAML.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1515
EndProject
1616
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{53E3DDFE-B280-4C80-A7D2-B5180C003631}"
1717
EndProject
18-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SAML2.Net", "src\SAML2.Net\SAML2.Net.csproj", "{90FDD931-3EE4-4FA3-BA88-E1EF4D44667D}"
18+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SAML2.Net", "src\Secure.SAML\Secure.SAML.csproj", "{90FDD931-3EE4-4FA3-BA88-E1EF4D44667D}"
1919
EndProject
2020
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{86F8BD8E-5D4C-4350-925E-D42A4454586F}"
2121
EndProject
22-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SAML2.Net.Tests", "tests\SAML2.Net.Tests\SAML2.Net.Tests.csproj", "{C46D3368-D47C-4DCC-8EAD-4A2EC8C18133}"
22+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Secure.SAML.Tests", "tests\Secure.SAML.Tests\Secure.SAML.Tests.csproj", "{C46D3368-D47C-4DCC-8EAD-4A2EC8C18133}"
2323
EndProject
2424
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".Github", ".Github", "{93165197-BEBC-468F-8472-CEA4AC0936AF}"
2525
ProjectSection(SolutionItems) = preProject

src/SAML2.Net/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,18 @@
1010

1111
using System;
1212
using System.Reflection;
13+
using System.Runtime.CompilerServices;
1314

1415
[assembly: System.Reflection.AssemblyCompanyAttribute("Code Shayk")]
1516
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
1617
[assembly: System.Reflection.AssemblyCopyrightAttribute("2025")]
1718
[assembly: System.Reflection.AssemblyDescriptionAttribute(".Net library to generate signed SAML 2.0 Response.")]
18-
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0")]
19-
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
20-
[assembly: System.Reflection.AssemblyProductAttribute("SAMLSAML.Net")]
21-
[assembly: System.Reflection.AssemblyTitleAttribute("SAML.Net")]
22-
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0")]
23-
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Codeshayk/SAML2.Net")]
19+
[assembly: System.Reflection.AssemblyFileVersionAttribute("4.5.0")]
20+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("4.5.0")]
21+
[assembly: System.Reflection.AssemblyProductAttribute("Secure.SAML")]
22+
[assembly: System.Reflection.AssemblyTitleAttribute("Secure.SAML")]
23+
[assembly: System.Reflection.AssemblyVersionAttribute("4.5.0")]
24+
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Codeshayk/Secure.SAML")]
25+
[assembly: InternalsVisibleTo("Secure.SAML.Tests")]
2426
// Generated by the MSBuild WriteCodeFragment class.
2527

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace SAML2.Net
1+
namespace Secure.SAML
22
{
33
public enum NameIdFormat
44
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using System.Collections.Generic;
33

4-
namespace SAML2.Net
4+
namespace Secure.SAML
55
{
66
public class Parameters
77
{
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
using System.Runtime.CompilerServices;
2+
3+
[assembly: InternalsVisibleTo("Secure.SAML.Tests")]
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,37 +10,37 @@
1010
<GeneratedAssemblyInfoFile>AssemblyInfo.cs</GeneratedAssemblyInfoFile>
1111
<PackRelease>true</PackRelease>
1212
<IsPackable>true</IsPackable>
13-
<AssemblyTitle>SAML2.Net</AssemblyTitle>
14-
<Product>SAML2.Net</Product>
13+
<AssemblyTitle>Secure.SAML</AssemblyTitle>
14+
<Product>Secure.SAML</Product>
1515
<Copyright>© Copyright 2025 Code Shayk.</Copyright>
1616
<Authors>CodeShayk</Authors>
1717
<Company>CodeShayk</Company>
18-
<Title>SAML2.Net</Title>
19-
<PackageProjectUrl>https://github.com/codeshayk/SAML2.Net/wiki</PackageProjectUrl>
18+
<Title>Secure.SAML</Title>
19+
<PackageProjectUrl>https://github.com/codeshayk/Secure.SAML/wiki</PackageProjectUrl>
2020
<Description>.Net library to generate signed SAML 2.0 Response.</Description>
2121
<PackageTags>SAML; SAML Response; SAML2; SAML2 Response; SHA1 SAML; SHA256 SAML; SHA512 SAML; SAML2 Assertion; SAML Library</PackageTags>
22-
<AssemblyVersion>1.0.0</AssemblyVersion>
23-
<Version>1.0.0</Version>
22+
<AssemblyVersion>4.5.0</AssemblyVersion>
23+
<Version>4.5.0</Version>
2424
<PackageIcon>ninja-icon-16.png</PackageIcon>
2525
<PackageReadmeFile>README.md</PackageReadmeFile>
2626
<RepositoryType>GIT</RepositoryType>
2727
<PackageReleaseNotes>
28-
v1.0.0 Release Notes: Targets .Net Framework 4.6.2; .Net Standards 2.0 and 2.1; .Net 9.0
28+
v4.5.0 Release Notes: Targets .Net Framework 4.6.2; .Net Standards 2.0 and 2.1; .Net 9.0
2929
.Net utility to create Signed SAML 2.0 Response
3030
* Supported Signing Algorithms - SHA1, SHA256, SHA512
3131
* Signs Assertion or Response.
3232
* Outputs Base64 string or XMLDocument.
3333
</PackageReleaseNotes>
3434
<PackageLicenseFile>LICENSE</PackageLicenseFile>
35-
<FileVersion>1.0.0</FileVersion>
35+
<FileVersion>4.5.0</FileVersion>
3636
<PackAsTool>False</PackAsTool>
37-
<PackageId>SAML2.Net</PackageId>
37+
<PackageId>Secure.SAML</PackageId>
3838
<IncludeSymbols>True</IncludeSymbols>
3939
<GenerateDocumentationFile>True</GenerateDocumentationFile>
4040
<SymbolPackageFormat>symbols.nupkg</SymbolPackageFormat>
41-
<RepositoryUrl>https://github.com/codeshayk/SAML2.Net</RepositoryUrl>
42-
<AssemblyName>SAML2.Net</AssemblyName>
43-
<RootNamespace>SAML2.Net</RootNamespace>
41+
<RepositoryUrl>https://github.com/codeshayk/Secure.SAML</RepositoryUrl>
42+
<AssemblyName>Secure.SAML</AssemblyName>
43+
<RootNamespace>Secure.SAML</RootNamespace>
4444
</PropertyGroup>
4545

4646
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace SAML2.Net
1+
namespace Secure.SAML
22
{
33
public enum SignType
44
{

0 commit comments

Comments
 (0)