dangoscomb / securid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

securid PHP library

A quick and dirty implementation of the RSA Authentication Manager API in PHP.

Installation

The preferred method of installation is via [Packagist][] and [Composer][]. Run the following command to install the package and add it as a requirement to your project's composer.json:

composer require dangoscomb/securid

Example

$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";
}

About

License:Apache License 2.0


Languages

Language:PHP 100.0%