Download the PHP package irma/simplesamlphp-module-authirma without Composer

On this page you can find all versions of the php package irma/simplesamlphp-module-authirma. 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-authirma

simplesamlphp-module-authirma

SimplesamlPHP module for IRMA authentication

Introduction

This module for simpleSAMLphp allows easy integration of IRMA authentication into an existing simpleSAMLphp setup. This document explains how to install the simpleSAMLphp module and how to configure it.

We are going to assume you have a working simpleSAMLphp installation. If you don't, refer to the documentation of simpleSAMLphp itself.

Installing the module and required libraries

Install using composer

To install in simplesamlphp, use the composer-based simplesamlphp module installer

composer require irma/simplesamlphp-module-authirma

Manual install

Download the latest version of the simpleSAMLphp IRMA module.

Install the module in the modules/ directory of your simpleSAMLphp setup (or symlink it if you want to keep the directory structure clean). The module is enabled by default: no need for a 'touch enable' inside the module directory.

Note that authirma depends on php-jwt for encoding and decoding JSON Web Tokens (JWT). Install using composer:

composer require firebase/php-jwt

Configuration

See docs /docs/authirma.md for configuration instructions.

Quickstart

Install simplesamlphp

git clone https://github.com/simplesamlphp/simplesamlphp.git
cd simplesamlphp/

Install the IRMA authentication module

composer require irma/simplesamlphp-module-authirma

Copy sample configuration files

cp config-templates/config.php config-templates/authsources.php config 

Edit config/config.php to change the following:

'baseurlpath' => '',

Edit config/authsources.php and add an authentication source named irma of type authirma:IRMA. See docs/authirma.

Create a directory for storing certificates and keys:

mkdir -p cert

Put the private key for signing JWT requests and the certificate with the public key of the API server in the cert directory.

Start a PHP web server:

php -S 0:8080 -t www 

Point your browser to http://localhost:8080/


All versions of simplesamlphp-module-authirma with dependencies

PHP Build Version
Package Version
Requires simplesamlphp/composer-module-installer Version ~1.0
firebase/php-jwt Version ^4.0
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 irma/simplesamlphp-module-authirma contains the following files

Loading the files please wait ....