MakeSimpleSignLogoutResponseWithStatus is like MakeSimpleSignLogoutResponse, but the response carries status instead of Success (see MakeLogoutResponseWithStatus). The SimpleSign signature covers the status.
(logoutRequestID, relayState string, status Status)
| 455 | // Success (see MakeLogoutResponseWithStatus). The SimpleSign signature |
| 456 | // covers the status. |
| 457 | func (sp *ServiceProvider) MakeSimpleSignLogoutResponseWithStatus(logoutRequestID, relayState string, status Status) ([]byte, error) { |
| 458 | resp := sp.makeUnsignedLogoutResponse(sp.GetSLOBindingLocation(HTTPPostSimpleSignBinding), logoutRequestID) |
| 459 | resp.Status = status |
| 460 | return resp.SimpleSign(relayState, sp) |
| 461 | } |
| 462 | |
| 463 | // SimpleSign returns an auto-submitting HTML form that sends the response to |
| 464 | // its Destination with the HTTP-POST-SimpleSign binding, signed with sp's |