Documentation
¶
Overview ¶
Package samltest provides a deliberately small SAML IdP fixture for Hikyo's end-to-end tests. It produces real signed assertions; it is not a protocol implementation and must not be used outside tests.
Index ¶
Constants ¶
const ( EntityID = "https://samltest.example/metadata" SSOURL = "https://samltest.example/sso" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdP ¶
type IdP struct {
// contains filtered or unexported fields
}
IdP owns the signing material used by one test identity provider.
func (*IdP) Metadata ¶
Metadata returns unsigned metadata whose signing key is explicitly pinned by the provider configuration ceremony exercised by the caller.
func (*IdP) SignedMetadata ¶
SignedMetadata returns metadata self-signed by the fixture IdP. Callers still exercise the explicit first-seen fingerprint ceremony.
type Request ¶
Request is the binding-relevant part of a Redirect AuthnRequest.
func DecodeRequest ¶
DecodeRequest reads the ID and ForceAuthn flag from a Redirect-binding URL.