Download the PHP package 0x0fbc/simplesamlphp-module-duouniversal without Composer

On this page you can find all versions of the php package 0x0fbc/simplesamlphp-module-duouniversal. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package simplesamlphp-module-duouniversal

simplesamlphp-module-duouniversal

Two-factor authentication module using Duo Security Universal Prompt for SimpleSAMLphp.

This module is still in development and is not production-ready, use at your own risk!

Installation

  1. cd into the root of your SimpleSAMLphp installation
  2. run composer require "0x0fbc\simplesamlphp-module-duouniversal"
  3. Copy module_duouniversal.php from the config-templates directory of this repo to the config directory of your SimpleSAMLphp deployment.
  4. Create (if you haven't already) a Duo Universal WebSDKv4 application in the "applications" section of your Duo deployment's admin console and set the following values in the defaultDuoApp section of the config:
    1. clientID to the "Client ID"
    2. clientSecret to the "Client Secret"
    3. apiHost to the "API hostname"
    4. usernameAttribute to the SAML attribute which correlates to usernames in your Duo deployment.
  5. Add an entry into your authentication processing filter chain with the following contents:

This will enable the module for the IdP/SP of your choice (or globally if you insert it into the authproc chain in the SimpleSAML global config.php).

The Duo application config used by a particular SP can be changed from the default by adding additional named entries to the alternateDuoApps section of the config and then mapping SP EntityIDs to application names in spDuoOverrides. Duo can be bypassed per-SP by mapping the SP's EntityID to 'bypass' in the same section. See the comments in the config-templates/module_duouniversal.php file for examples.

Based on the original Duo Security module by Kevin Nastase, as forked by Scott Carlson.


All versions of simplesamlphp-module-duouniversal with dependencies

PHP Build Version
Package Version
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package 0x0fbc/simplesamlphp-module-duouniversal contains the following files

Loading the files please wait ....