kexcoresaml

package module
v0.0.0-...-e63e155 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2026 License: MPL-2.0 Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package kexcoresaml is the module root for KexCore's SAML 2.0 SDK.

Scope: inbound SAML only. KexCore acts as a Service Provider (SP): it sends AuthnRequests to a tenant's identity provider, consumes the returned assertions, and hands the resulting identity to the host application.

The outbound Identity Provider role is deliberately not implemented here. Its seam lives in pkg/idp so that adding it later does not change the SP API or the host-facing provider contract.

The package layout mirrors github.com/roidmc/kexcore-oidc:

pkg/protocol  protocol constants and types, no host dependency
pkg/sp        Service Provider engine (AuthnRequest, ACS, validation)
pkg/xmlsig    XML hardening applied before any SAML document is parsed
pkg/idp       reserved outbound IdP interfaces

A host application (KexCore's UniAPI adapter) is expected to own tenancy, user storage, session issuance and HTTP routing. This module owns the SAML wire format and its security checks; it never imports the host.

Directories

Path Synopsis
pkg
idp
Package idp is the reserved home of the outbound SAML identity provider.
Package idp is the reserved home of the outbound SAML identity provider.
protocol
Package protocol holds SAML constants and types shared by the service provider engine and the future identity provider engine.
Package protocol holds SAML constants and types shared by the service provider engine and the future identity provider engine.
sp
xmlsig
Package xmlsig centralises the XML hardening applied before any SAML document is parsed.
Package xmlsig centralises the XML hardening applied before any SAML document is parsed.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL