MakeSimpleSignLogoutRequest creates a SAML LogoutRequest for the IDP's HTTP-POST-SimpleSign single logout endpoint. It returns an auto-submitting HTML form that sends the request to the IDP, signed with a SimpleSign signature made with Key and SignatureMethod, which must be set. The request carries
(nameID, relayState string, opts ...LogoutRequestOption)
| 417 | // a SimpleSign signature made with Key and SignatureMethod, which must be |
| 418 | // set. The request carries no XML signature. |
| 419 | func (sp *ServiceProvider) MakeSimpleSignLogoutRequest(nameID, relayState string, opts ...LogoutRequestOption) ([]byte, error) { |
| 420 | req, err := sp.makeLogoutRequest(sp.GetSLOBindingLocation(HTTPPostSimpleSignBinding), nameID, opts...) |
| 421 | if err != nil { |
| 422 | return nil, err |
| 423 | } |
| 424 | return req.SimpleSign(relayState, sp) |
| 425 | } |
| 426 | |
| 427 | // SimpleSign returns an auto-submitting HTML form that sends the request to |
| 428 | // its Destination with the HTTP-POST-SimpleSign binding, signed with sp's |