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

Method MakeSimpleSignLogoutResponseWithStatus

simplesign_binding.go:457–461  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

455// Success (see MakeLogoutResponseWithStatus). The SimpleSign signature
456// covers the status.
457func (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

Calls 3

GetSLOBindingLocationMethod · 0.95
SimpleSignMethod · 0.45