Download the PHP package simplesamlphp/simplesamlphp-module-infocard without Composer

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

Information cards module for simpleSAMLphp

WARNING: THIS IS NOT mature software, it's released with testing, educational, developing purposes. It's on a very early version, so don't rely the life of anybody on it.

Introduction

This is a SimpleSAMLphp module that works with Information Cards technologies and provides two basic functionalities:

Very important

This document is not a strict guide, I mean it might have some errors or missed information. I've tried to comment almost every trick I've used to make the system work and make your life easier. So, if at any point of the installation you feel lost, breathe twice, think for ten minutes in what you are trying to do, read again the documentation and use your common sense. It'll be useful when you'll face again the configuration file.

Installation

Once you have installed SimpleSAMLphp, installing this module is very simple. Just execute the following command in the root of your SimpleSAMLphp installation:

where dev-master instructs Composer to install the master branch from the Git repository. See the releases available if you want to use a stable version of the module.

When you have successfully installed your module, you need to proceed with the following steps:

  1. Copy the InfoCard folder in your modules directory in your SimpleSAMLphp installation directory.
  2. Copy (or move) the file modules/InfoCard/extra/config-login-infocard.php to the config directory in your SimpleSAMLphp installation directory.
  3. Edit the config/config-login-infocard.php file, you should configure some values like: help_desk_email_URL, contact_info_URL, server_key, server_crt, sts_crt, requiredClaims and optionalClaims to fit your needs.
  4. Edit the config/authsources.php file, add the following text before the last );:

  5. That's all.

Adding an Infocard Generator

  1. Go into the modules/InfoCard folder.
  2. Copy extra/getinfocard.php to www/getinfocard.php
  3. Edit the config/config-login-infocard.php file and uncomment this line:

  4. Following the previous example, uncomment this values:certificates, sts_key, tokenserviceurl and mexurl.
  5. Check the previous values and modify them if you need.
  6. Read the User functions section.

Adding the STS functionality

  1. Go into the modules/InfoCard folder.
  2. Copy extra/mex.php and extra/tokenservice.php to the www folder.
  3. Edit the config/config-login-infocard.php file and uncomment the values: certificates and sts_key.
  4. Read the User functions section.

User functions

Because there are many authentication issues I cannot guess for you, you'll have to code a little bit to fit this module to your authentication system.

We we'll work with the file UserFunctions.php located in modules/InfoCard/lib/.

Certificates and hosts

The architecture is composed by three independent elements:

That's because you should configure two hosts (with two x509 certificates) if you want two have the IDP and STS functionalities in the same machine.


All versions of simplesamlphp-module-infocard 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 simplesamlphp/simplesamlphp-module-infocard contains the following files

Loading the files please wait ....