Documentation
¶
Overview ¶
Package federationhttp owns bounded, direct federation HTTP transport. It shares the DNS/address policy used by SAML metadata and authenticated adapters.
Index ¶
Constants ¶
View Source
const ( Deadline = 15 * time.Second DocumentBytes = 1 << 20 TokenBytes = 256 << 10 )
View Source
const MaxCABundleBytes = 64 << 10
MaxCABundleBytes bounds administrator-supplied trust anchors.
Variables ¶
View Source
var ErrTransport = errors.New("federation: outbound request refused or failed")
Functions ¶
func NewClient ¶
NewClient copies policy so later caller mutation cannot widen the client. Environment proxies are intentionally disabled: their remote DNS behavior cannot be treated as the local, approved address dialed by PublicDialer.
func ParseCABundle ¶
ParseCABundle accepts only PEM CA certificates. Supplied roots replace the system root store; private keys, junk and partial bundles fail closed.
Types ¶
Click to show internal directories.
Click to hide internal directories.