validateLogoutRequestRedirectQuery validates a LogoutRequest received via the HTTP-Redirect binding. rawQuery is the URL's raw query string.
(rawQuery string)
| 3614 | // validateLogoutRequestRedirectQuery validates a LogoutRequest received via |
| 3615 | // the HTTP-Redirect binding. rawQuery is the URL's raw query string. |
| 3616 | func (sp *ServiceProvider) validateLogoutRequestRedirectQuery(rawQuery string) (*LogoutRequest, error) { |
| 3617 | retErr := &InvalidResponseError{ |
| 3618 | Now: sp.now(), |
| 3619 | } |
| 3620 | |
| 3621 | root, err := sp.readRedirectBindingMessage(rawQuery, redirectParamSAMLRequest, retErr) |
| 3622 | if err != nil { |
| 3623 | return nil, err |
| 3624 | } |
| 3625 | |
| 3626 | return sp.unmarshalAndValidateLogoutRequest(root, retErr) |
| 3627 | } |
| 3628 | |
| 3629 | func (sp *ServiceProvider) unmarshalAndValidateLogoutRequest(root *etree.Element, retErr *InvalidResponseError) (*LogoutRequest, error) { |
| 3630 | var req LogoutRequest |
no test coverage detected