2017 © Pedro Peláez
 

library id-card

BitWeb extension for Estonian ID-Card authentication and signing.

image

bitweb/id-card

BitWeb extension for Estonian ID-Card authentication and signing.

  • Sunday, October 19, 2014
  • by tobre
  • Repository
  • 11 Watchers
  • 2 Stars
  • 74 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

id-card

Build Status Coverage Status, (*1)

BitWeb plugin for Id Card authentication ang signing., (*2)

Usage:

Adding lib

php composer.phar require bitweb/id-card
# (When asked for a version, type `2.0.*`)

or add following to composer.json, (*3)

"require": {
  "bitweb/id-card": "2.0.*"
}

Integrating with apache

Add id-card folder into your public folder
The folder should contain index.php with following contents:
use BitWeb\IdCard\Authentication\IdCardAuthentication;

chdir(dirname(dirname(__DIR__)));

// Autoload classes
include 'vendor/autoload.php';
include 'init_autoloader.php';
Zend\Mvc\Application::init(require 'config/application.config.php');

$redirectUrl = urldecode($_GET["redirectUrl"]);

if (!IdCardAuthentication::isSuccessful()) {
    $redirectUrl = '/id-card/no-card-found';
} else {
    IdCardAuthentication::login();
}
$headerStr = 'Location: ' . $redirectUrl;

header($headerStr);
In same folder should exist .htaccess:
SSLVerifyClient require
SSLVerifyDepth 3

Adding id card support into development environment

http://www.id.ee/public/Configuring_Apache_web_server_to_support_ID.pdf, (*4)

Happy using, (*5)

The Versions

19/10 2014

dev-mid-login

dev-mid-login http://bitweb.ee/

BitWeb extension for Estonian ID-Card authentication and signing.

  Sources   Download

proprietary

The Requires

 

The Development Requires

18/10 2014

dev-master

9999999-dev http://bitweb.ee/

BitWeb extension for Estonian ID-Card authentication and signing.

  Sources   Download

proprietary

The Requires

 

The Development Requires

29/04 2014

2.0.1

2.0.1.0 http://bitweb.ee/

BitWeb extension for Estonian ID-Card authentication and signing.

  Sources   Download

proprietary

The Requires

 

The Development Requires

03/04 2014

2.0.0

2.0.0.0 http://bitweb.ee/

BitWeb extension for Estonian ID-Card authentication and signing.

  Sources   Download

proprietary

The Requires

 

The Development Requires

08/03 2014

1.0.1

1.0.1.0 http://bitweb.ee/

BitWeb extension for Estonian ID-Card authentication.

  Sources   Download

proprietary

The Requires

  • php >=5.3.3

 

The Development Requires