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

Method SimpleSignWithNonce

simplesign_binding.go:473–475  ·  view source on GitHub ↗

SimpleSignWithNonce is like SimpleSign, but if nonce is not empty it is set as the nonce attribute of the form's auto-submit element.

(relayState, nonce string, sp *ServiceProvider)

Source from the content-addressed store, hash-verified

471// SimpleSignWithNonce is like SimpleSign, but if nonce is not empty it is
472// set as the nonce attribute of the form's auto-submit <script> element.
473func (r *LogoutResponse) SimpleSignWithNonce(relayState, nonce string, sp *ServiceProvider) ([]byte, error) {
474 return sp.simpleSignForm(r.Destination, redirectParamSAMLResponse, r.Element(), relayState, nonce, sp.logoutSignatureMethod())
475}

Callers 1

SimpleSignMethod · 0.95

Calls 3

ElementMethod · 0.95
simpleSignFormMethod · 0.80
logoutSignatureMethodMethod · 0.80

Tested by

no test coverage detected