Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
f4ada4e
Boxcar evaluation
patchandthat Jun 17, 2025
9b61864
Rework to request wrapper
patchandthat Jun 17, 2025
87f1ed3
Boxcar request builder
patchandthat Jun 20, 2025
f346ea8
Remove generic request wrapper
patchandthat Jun 23, 2025
6115503
Add documentation
patchandthat Jun 23, 2025
0b3799e
Fix typo
patchandthat Aug 18, 2025
d72df87
Merge pull request #1 from RockSolidKnowledge/boxcar
patchandthat Aug 29, 2025
f91c004
Relocate cs code
patchandthat Aug 29, 2025
f498d3a
Merge pull request #2 from RockSolidKnowledge/restructure
patchandthat Aug 29, 2025
bc7e5bd
Move to C# lib to folder
patchandthat Aug 29, 2025
e6077af
Implement metadata endpoint
patchandthat Sep 1, 2025
41dbca5
Merge pull request #4 from RockSolidKnowledge/csharp-metadata-endpoint
patchandthat Sep 2, 2025
1e4a473
Add Typscript client
patchandthat Aug 29, 2025
05d00f8
Add tests to use discovery doc to resolve evaluate endpoint
patchandthat Sep 1, 2025
b2b9ddb
Add tests for 404 handling when calling evaluate
patchandthat Sep 1, 2025
ad1c065
Add discovery & 404 tests for evaluations endpoint
patchandthat Sep 1, 2025
4f332d6
Update gitignore
patchandthat Sep 1, 2025
90f573e
Update setup of other tests
patchandthat Sep 1, 2025
ba2306f
Update client
patchandthat Sep 1, 2025
11af418
Fix tests w.r.t. discovery call
patchandthat Sep 2, 2025
8880037
Update webpack config
patchandthat Sep 2, 2025
af75550
Replace incomplete tests
patchandthat Sep 2, 2025
1ecc8c1
Removed helper methods from basic-usage.ts
patchandthat Sep 2, 2025
67082e2
Merge pull request #3 from RockSolidKnowledge/typescript-client
patchandthat Sep 3, 2025
552f8cb
Enable manual trigger for .NET workflow
patchandthat Feb 13, 2026
853c680
Correct .net project path
patchandthat Feb 13, 2026
1898e31
Updating actions
patchandthat Feb 18, 2026
8344327
Update tests
patchandthat Feb 23, 2026
8c8cb93
Update workflow for trusted publishing
patchandthat Feb 23, 2026
82253d6
Update readmes to be inline with package contents
patchandthat Feb 24, 2026
4e3b547
Typescript workflow update to use trusted publish
patchandthat Feb 24, 2026
44ba40d
Retry
patchandthat Feb 24, 2026
97a8786
AuthZen Example using Enforcer
andrewclymer Apr 10, 2026
c479a55
Added location of where to get an Enforcer license key
andrewclymer Apr 10, 2026
9942f3c
Fixed comments on PR
andrewclymer Apr 13, 2026
5ae785d
Updated readme
andrewclymer Apr 14, 2026
5046269
Removing unneccessary files
andrewclymer Apr 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 38 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
name: .NET

on:
workflow_dispatch: # Manual trigger
push:
branches: [ "main" ]
pull_request:
Expand All @@ -16,13 +17,47 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get version from git tag
id: version
run: |
VERSION=$(git describe --tags --abbrev=0 2>/dev/null || echo "0.0.1-preview")
VERSION=${VERSION#v}
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
run: dotnet restore src/CSharp/Rsk.AuthZen.sln
- name: Build
run: dotnet build --no-restore
run: dotnet build src/CSharp/Rsk.AuthZen.sln --no-restore --configuration Release
- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet test src/CSharp/Rsk.AuthZen.sln --no-build --verbosity normal --configuration Release
- name: Pack NuGet Package
run: dotnet pack src/CSharp/Rsk.AuthZen.Client/Rsk.AuthZen.Client.csproj --configuration Release --no-build --output ./nupkgs -p:Version=${{ steps.version.outputs.version }}
- name: Upload NuGet Package
uses: actions/upload-artifact@v4
with:
name: nuget-package
path: ./nupkgs/*.nupkg

deploy:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
environment: nuget-production

steps:
- name: Download NuGet Package
uses: actions/download-artifact@v4
with:
name: nuget-package
path: ./nupkgs
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Push to NuGet.org
run: dotnet nuget push ./nupkgs/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
78 changes: 78 additions & 0 deletions .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# This workflow will build and test the TypeScript library
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: TypeScript

on:
workflow_dispatch: # Manual trigger
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

# Permissions for npmjs trusted publishing
permissions:
contents: read
id-token: write

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get version from git tag
id: version
run: |
VERSION=$(git describe --tags --abbrev=0 2>/dev/null || echo "0.0.1-preview")
VERSION=${VERSION#v}
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: src/Typescript/package-lock.json
- name: Install dependencies
run: npm ci
working-directory: src/Typescript
- name: Set package version
run: npm version ${{ steps.version.outputs.version }} --no-git-tag-version --allow-same-version
working-directory: src/Typescript
- name: Build
run: npm run build
working-directory: src/Typescript
- name: Test
run: npm test
working-directory: src/Typescript
- name: Pack npm package
run: npm pack
working-directory: src/Typescript
- name: Upload npm package
uses: actions/upload-artifact@v4
with:
name: npm-package
path: src/Typescript/*.tgz

deploy:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
environment: npm-production

steps:
- name: Download npm package
uses: actions/download-artifact@v4
with:
name: npm-package
path: ./package
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
- name: Publish to npm
run: npm publish ./package/*.tgz --access public --provenance
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@ bin/
obj/
/packages/
riderModule.iml
/_ReSharper.Caches/
/_ReSharper.Caches/
**/.DS_Store

.idea
*.DotSettings.user
src/Typescript/dist/
src/Typescript/node_modules
1 change: 0 additions & 1 deletion README.md

This file was deleted.

Loading