protected function getAuthorizationCode()
    {
        $code = null;
        if ($this->responseMode === 'query' && isset($_GET['code'])) {
            $code = $_GET['code'];
        } else if ($this->responseMode === 'form_post' && isset($_POST['code'])) {
            $code = $_POST['code'];
        }

        return $code;
    }
protected function getAuthorizationCode()
    {
        $code = null;
        if ($this->responseMode === 'query' && isset($_GET['code'])) {
            $code = $_GET['code'];
        } else if ($this->responseMode === 'form_post' && isset($_POST['code'])) {
            $code = $_POST['code'];
        }

        return $code;
    }
protected function getAuthorizationCode ( ) { $ code = null ; if ( $ this -> responseMode === 'query' && isset ( $ _GET [ 'code' ] ) ) { $ code = $ _GET [ 'code' ] ; } else if ( $ this -> responseMode === 'form_post' && isset ( $ _POST [ 'code' ] ) ) { $ code = $ _POST [ 'code' ] ; } return $ code ; }
Get the authorization code from POST or GET, depending on response_mode

@return string|null

@see https://auth0.com/docs/api-auth/tutorials/authorization-code-grant
Get the authorization code from POST or GET depending on response_mode