PHP code example of dangoscomb / securid

1. Go to this page and download the library: Download dangoscomb/securid library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

dangoscomb / securid example snippets



$sess = new \SecurID\Session('AGENT_ID','https://rsa.yourdomain.com:5555','ACCESS_KEY', [ 'verify' => false ] );
$sess->init('USERNAME');
if($sess->verify('PIN+KEY')) {
        echo "\nAUTHED\n";
}
else {
        echo "\nFAIL :(\n";
}