src/Aacotroneo/Saml2/Http/Controllers/Saml2Controller.php
public function sls()
    {
        $error = $this->saml2Auth->sls(config('saml2_settings.retrieveParametersFromServer'));
        if (!empty($error)) {
            throw new \Exception("Could not log out");
        }

        return redirect(config('saml2_settings.logoutRoute')); //may be set a configurable default
    }
public function sls()
    {
        $error = $this->saml2Auth->sls(config('saml2_settings.retrieveParametersFromServer'));
        if (!empty($error)) {
            throw new \Exception("Could not log out");
        }

        return redirect(config('saml2_settings.logoutRoute')); //may be set a configurable default
    }
public function sls ( ) { $ error = $ this -> saml2Auth -> sls ( config ( 'saml2_settings.retrieveParametersFromServer' ) ) ; if ( ! empty ( $ error ) ) { throw new \ Exception ( "Could not log out" ) ; } return redirect ( config ( 'saml2_settings.logoutRoute' ) ) ; //may be set a configurable default }
Process an incoming saml2 logout request.
Fires 'Saml2LogoutEvent' event if its valid.
This means the user logged out of the SSO infrastructure, you 'should' log him out locally too.
Process an incoming saml2 logout request . Fires Saml2LogoutEvent event if its valid . This means the user logged out of the SSO infrastructure you should log him out locally too .