Cax360.Platform.Core 1.0.0

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Cax360.Platform.Core --version 1.0.0
                    
NuGet\Install-Package Cax360.Platform.Core -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Cax360.Platform.Core" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cax360.Platform.Core" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Cax360.Platform.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Cax360.Platform.Core --version 1.0.0
                    
#r "nuget: Cax360.Platform.Core, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Cax360.Platform.Core@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Cax360.Platform.Core&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Cax360.Platform.Core&version=1.0.0
                    
Install as a Cake Tool

Cax360.Platform.Core

Proprietary - Copyright 2026 Rectitude Consulting Services Pvt Ltd. All rights reserved.

Zero-config gRPC server builder for the CAX360 platform. A single AddCax360Platform() call wires the full interceptor chain in the required order:

OpenTelemetry -> AuthN (JWT) -> TenantResolver -> TenantMembershipGate (OpenFGA) -> StructuredLogging

Default endpoint policy is TenantScoped. Use explicit policies for anonymous or authenticated-global APIs.

Quick start

builder.Services.AddCax360Platform(configuration);

// OR with overrides
builder.Services.AddCax360PlatformGrpc(options =>
{
    options.ServiceName = "my-service";
    options.Env = "prod";
    options.ServicePolicies["context.v1.ContextService"] = EndpointPolicy.AuthenticatedGlobal;
    options.MethodPolicies["/grpc.health.v1.Health/Check"] = EndpointPolicy.Anonymous;
    options.HttpPathPolicies["/v1/context/me"] = EndpointPolicy.AuthenticatedGlobal;
    options.HttpPathPolicies["/v1/health"] = EndpointPolicy.Anonymous;
});

Legacy TenantOptionalMethods and TenantOptionalHttpPaths remain supported for backward compatibility, but new services should prefer ServicePolicies / MethodPolicies / HttpPathPolicies.

HTTP gateway

AddCax360PlatformHttpGateway() uses the same policy model as gRPC:

builder.Services.AddCax360PlatformHttpGateway(options =>
{
    options.HttpPathPolicies["/v1/context/me"] = EndpointPolicy.AuthenticatedGlobal;
    options.HttpPathPolicies["/v1/health"] = EndpointPolicy.Anonymous;
});

Use AuthenticatedGlobal only for endpoints that require auth but are not tenant-scoped, such as profile/bootstrap APIs.

Environment variables

Variable Default Description
CAX360_AUTH_JWKS_URL - JWKS endpoint (Keycloak)
CAX360_AUTH_ISSUER - Expected JWT issuer
CAX360_AUTH_AUDIENCE - Expected JWT audience
CAX360_FGA_API_GRPC - OpenFGA gRPC host:port
CAX360_FGA_STORE_ID - OpenFGA store ID
CAX360_FGA_MODEL_ID - OpenFGA model ID
CAX360_OTEL_EXPORTER_OTLP_ENDPOINT - OTLP collector endpoint
CAX360_SERVICE_NAME cax360-service Service name for telemetry
CAX360_ENV dev Environment tag
CAX360_STUB_MODE false Disable real auth (local dev only)
  • Cax360.Platform.Security - JWT validation + OpenFGA AuthZ
  • Cax360.Platform.Observability - structured JSON logging
  • Cax360.Platform.Messaging - NATS JetStream messaging
  • Cax360.Platform.TestKit - stubs for unit testing
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated