Aacotroneo\Saml2\Http\Controllers\Saml2Controller::sls PHP Метод

sls() публичный Метод

Fires 'saml2.logoutRequestReceived' event if its valid. This means the user logged out of the SSO infrastructure, you 'should' log him out locally too.
public sls ( )
    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
    }