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)
| 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. |
| 473 | func (r *LogoutResponse) SimpleSignWithNonce(relayState, nonce string, sp *ServiceProvider) ([]byte, error) { |
| 474 | return sp.simpleSignForm(r.Destination, redirectParamSAMLResponse, r.Element(), relayState, nonce, sp.logoutSignatureMethod()) |
| 475 | } |
no test coverage detected