MCPcopy Create free account
hub / github.com/crewjam/saml / SimpleSign

Method SimpleSign

simplesign_binding.go:400–402  ·  view source on GitHub ↗

SimpleSign returns an auto-submitting HTML form that sends the request to its Destination with the HTTP-POST-SimpleSign binding, signed with sp's Key and SignatureMethod, which must be set. An XML signature the request already carries is kept.

(relayState string, sp *ServiceProvider)

Source from the content-addressed store, hash-verified

398// Key and SignatureMethod, which must be set. An XML signature the request
399// already carries is kept.
400func (r *AuthnRequest) SimpleSign(relayState string, sp *ServiceProvider) ([]byte, error) {
401 return r.SimpleSignWithNonce(relayState, "", sp)
402}
403
404// SimpleSignWithNonce is like SimpleSign, but if nonce is not empty it is
405// set as the nonce attribute of the form's auto-submit <script> element, as

Calls 1

SimpleSignWithNonceMethod · 0.95