<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Trouble with DUO_PHP package from GITHub in APIs</title>
    <link>https://community.cisco.com/t5/apis/trouble-with-duo-php-package-from-github/m-p/4883037#M477</link>
    <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Hello&lt;BR /&gt;
I have done a clone and install of the duo_php package from GITHub.&lt;BR /&gt;
&lt;A href="https://github.com/duosecurity/duo_php" rel="noopener nofollow ugc"&gt;https://github.com/duosecurity/duo_php&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I have setup a WEB SDK application in my DUO applications. I have copied the IKEY, SKEY, Host and created an AKEY and inserted them into duo_php\demos\simple-v2\index.php as per the instructions on GITHub.&lt;/P&gt;
&lt;P&gt;When I try to run the above php page on my demo server, I receive the following error…&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Fatal error&lt;/STRONG&gt; : Uncaught Error: Class ‘DuoAPI\Frame’ not found in C:\xampp\htdocs\duo_php\demos\simple-v2\index.php:35 Stack trace: &lt;SPAN class="hashtag"&gt;#0&lt;/SPAN&gt; {main} thrown in  &lt;STRONG&gt;C:\xampp\htdocs\duo_php\demos\simple-v2\index.php&lt;/STRONG&gt;  on line  &lt;STRONG&gt;35&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This is line 35 in the PHP file&lt;/P&gt;
&lt;P&gt;$client = new \DuoAPI\Frame(&lt;BR /&gt;
IKEY,&lt;BR /&gt;
SKEY,&lt;BR /&gt;
HOST,&lt;BR /&gt;
null,&lt;BR /&gt;
true,&lt;BR /&gt;
\DuoAPI\SIGNATURE_CANON_JSON_STRING_BODY&lt;BR /&gt;
);&lt;/P&gt;
&lt;P&gt;Besides this question, what more do I need to do to make this authenticate with DUO.&lt;/P&gt;
&lt;P&gt;Thanks for the help&lt;BR /&gt;
Tony&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Sun, 29 Dec 2019 20:57:54 GMT</pubDate>
    <dc:creator>twolsey1</dc:creator>
    <dc:date>2019-12-29T20:57:54Z</dc:date>
    <item>
      <title>Trouble with DUO_PHP package from GITHub</title>
      <link>https://community.cisco.com/t5/apis/trouble-with-duo-php-package-from-github/m-p/4883037#M477</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Hello&lt;BR /&gt;
I have done a clone and install of the duo_php package from GITHub.&lt;BR /&gt;
&lt;A href="https://github.com/duosecurity/duo_php" rel="noopener nofollow ugc"&gt;https://github.com/duosecurity/duo_php&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I have setup a WEB SDK application in my DUO applications. I have copied the IKEY, SKEY, Host and created an AKEY and inserted them into duo_php\demos\simple-v2\index.php as per the instructions on GITHub.&lt;/P&gt;
&lt;P&gt;When I try to run the above php page on my demo server, I receive the following error…&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Fatal error&lt;/STRONG&gt; : Uncaught Error: Class ‘DuoAPI\Frame’ not found in C:\xampp\htdocs\duo_php\demos\simple-v2\index.php:35 Stack trace: &lt;SPAN class="hashtag"&gt;#0&lt;/SPAN&gt; {main} thrown in  &lt;STRONG&gt;C:\xampp\htdocs\duo_php\demos\simple-v2\index.php&lt;/STRONG&gt;  on line  &lt;STRONG&gt;35&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This is line 35 in the PHP file&lt;/P&gt;
&lt;P&gt;$client = new \DuoAPI\Frame(&lt;BR /&gt;
IKEY,&lt;BR /&gt;
SKEY,&lt;BR /&gt;
HOST,&lt;BR /&gt;
null,&lt;BR /&gt;
true,&lt;BR /&gt;
\DuoAPI\SIGNATURE_CANON_JSON_STRING_BODY&lt;BR /&gt;
);&lt;/P&gt;
&lt;P&gt;Besides this question, what more do I need to do to make this authenticate with DUO.&lt;/P&gt;
&lt;P&gt;Thanks for the help&lt;BR /&gt;
Tony&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 29 Dec 2019 20:57:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/trouble-with-duo-php-package-from-github/m-p/4883037#M477</guid>
      <dc:creator>twolsey1</dc:creator>
      <dc:date>2019-12-29T20:57:54Z</dc:date>
    </item>
  </channel>
</rss>

