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)
| 398 | // Key and SignatureMethod, which must be set. An XML signature the request |
| 399 | // already carries is kept. |
| 400 | func (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 |