enygma/duoauth

This package is abandoned and no longer maintained. No replacement package was suggested.

PHP library to interface with the DuoAuth Two-Factor REST API

2.0 2021-01-27 17:03 UTC

This package is auto-updated.

Last update: 2021-01-27 17:09:00 UTC


README

NOTE: This library is no longer maintained.

Build Status

PHP Library for easy integration with Duo Security's Two-Factor REST API

The Duo Security service provides easy integration with your current authentication methods to drop in two-factor authentication (cell phone or other device).

They have a "developer" plan that's free and allows for up to 10 users on the application/account.

Find out more here: http://duosecurity.com

REST documentation: https://www.duosecurity.com/docs/duorest

Creating an Account

To create an application, you'll need to make an account with Duo Security. Once you're in you'll need to:

  1. Click on the "Integrations" item in the sidebar and click "New Application"
  2. For the Integration type, choose "REST API" and give it a name
  3. Once it's created, click on its name to get to the detail page. Here's where you'll find the keys you'll need to access the API (integration, secret and the API hostname)

Installation via Composer:

Include in your composer.json file:

{
    "require": {
        "enygma/duoauth": "2.*"
    }
}

More information...

For more information on the functionality, see the wiki: https://github.com/enygma/duoauth/wiki/