Documentation
¶
Overview ¶
Package testsaml contains functions for use in testing SAML requests and responses.
Index ¶
Constants ¶
const MaxDecompressedSize = 1024 * 1024
MaxDecompressedSize is the largest decompressed message ParseRedirectRequest and ParseRedirectResponse will return. It matches the limit the saml package applies to the HTTP-Redirect binding, so a test helper never inflates more than the library would accept.
Variables ¶
var ErrTooLarge = errors.New("decompressed message is too large")
ErrTooLarge is returned when a decompressed message exceeds MaxDecompressedSize.
Functions ¶
func ParseRedirectRequest ¶
ParseRedirectRequest returns the decoded SAML AuthnRequest from an HTTP-Redirect URL
Types ¶
This section is empty.