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

Method SimpleSign

simplesign_binding.go:431–433  ·  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

429// Key and SignatureMethod, which must be set. An XML signature the request
430// already carries is kept.
431func (r *LogoutRequest) SimpleSign(relayState string, sp *ServiceProvider) ([]byte, error) {
432 return r.SimpleSignWithNonce(relayState, "", sp)
433}
434
435// SimpleSignWithNonce is like SimpleSign, but if nonce is not empty it is
436// set as the nonce attribute of the form's auto-submit <script> element.

Callers

nothing calls this directly

Calls 1

SimpleSignWithNonceMethod · 0.95

Tested by

no test coverage detected