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

Method MakeSimpleSignLogoutResponse

simplesign_binding.go:449–451  ·  view source on GitHub ↗

MakeSimpleSignLogoutResponse creates a SAML LogoutResponse for the IDP's HTTP-POST-SimpleSign single logout endpoint. It returns an auto-submitting HTML form that sends the response to the IDP, signed with a SimpleSign signature made with Key and SignatureMethod, which must be set. The response carr

(logoutRequestID, relayState string)

Source from the content-addressed store, hash-verified

447// a SimpleSign signature made with Key and SignatureMethod, which must be
448// set. The response carries no XML signature.
449func (sp *ServiceProvider) MakeSimpleSignLogoutResponse(logoutRequestID, relayState string) ([]byte, error) {
450 return sp.MakeSimpleSignLogoutResponseWithStatus(logoutRequestID, relayState, successStatus())
451}
452
453// MakeSimpleSignLogoutResponseWithStatus is like
454// MakeSimpleSignLogoutResponse, but the response carries status instead of

Calls 2

successStatusFunction · 0.85