public function logout($redirectUrl)
    {
        if (!empty($this->options['revoke_token_url']) && $this->options['force_login'] === true) {
            $redirectUrl = $this->normalizeUrl(
                $this->options['revoke_token_url'],
                ['post_logout_redirect_uri' => $redirectUrl]
            );
        }

        return new RedirectResponse($redirectUrl);
    }
public function logout($redirectUrl)
    {
        if (!empty($this->options['revoke_token_url']) && $this->options['force_login'] === true) {
            $redirectUrl = $this->normalizeUrl(
                $this->options['revoke_token_url'],
                ['post_logout_redirect_uri' => $redirectUrl]
            );
        }

        return new RedirectResponse($redirectUrl);
    }
public function logout ( $ redirectUrl ) { if ( ! empty ( $ this -> options [ 'revoke_token_url' ] ) && $ this -> options [ 'force_login' ] === true ) { $ redirectUrl = $ this -> normalizeUrl ( $ this -> options [ 'revoke_token_url' ] , [ 'post_logout_redirect_uri' => $ redirectUrl ] ) ; } return new RedirectResponse ( $ redirectUrl ) ; }
Logouts User from resource Owner.

@param $redirectUrl

@return RedirectResponse
Logouts User from resource Owner .