2017 © Pedro PelĂĄez
 

library id-services

BitWeb extension for Estonian ID-Card and Mobile ID authentication and signing.

image

bitweb/id-services

BitWeb extension for Estonian ID-Card and Mobile ID authentication and signing.

  • Friday, June 2, 2017
  • by tobre
  • Repository
  • 10 Watchers
  • 4 Stars
  • 2,532 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 6 Versions
  • 6 % Grown

The README.md

id-services

Build Status Coverage Status, (*1)

BitWeb plugin for Estonian Id Card and Mobile ID authentication and signing., (*2)

Requires PHP version 5.6 and up., (*3)

Usage:

Adding lib

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

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

"require": {
  "bitweb/id-services": "1.0.*"
}

Integrating with apache

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

// make everything relative to the project root
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 (!Authentication::isSuccessful()) {
    $redirectUrl = '/id-card/no-card-found';
} else {
    Authentication::login();
}
$headerString = 'Location: ' . $redirectUrl;

header($headerString);
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, (*5)

Happy using, (*6)

The Versions

02/06 2017

dev-master

9999999-dev http://bitweb.ee/

BitWeb extension for Estonian ID-Card and Mobile ID authentication and signing.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Rain Ramm
by Priit Rand
by TÔnis Tobre

authentication signing id card id-card mobile-id mobile id autentimine allkirjastamine mobiil id mobiilid id kaart

02/06 2017

2.0.0

2.0.0.0 http://bitweb.ee/

BitWeb extension for Estonian ID-Card and Mobile ID authentication and signing.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Rain Ramm
by Priit Rand
by TÔnis Tobre

authentication signing id card id-card mobile-id mobile id autentimine allkirjastamine mobiil id mobiilid id kaart

17/01 2016

dev-php7

dev-php7 http://bitweb.ee/

BitWeb extension for Estonian ID-Card and Mobile ID authentication and signing.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Rain Ramm
by Priit Rand
by TÔnis Tobre

authentication signing id card id-card mobile-id mobile id autentimine allkirjastamine mobiil id mobiilid id kaart

06/11 2015

1.0.2

1.0.2.0 http://bitweb.ee/

BitWeb extension for Estonian ID-Card and Mobile ID authentication and signing.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Rain Ramm
by Priit Rand
by TÔnis Tobre

authentication signing id card id-card mobile-id mobile id autentimine allkirjastamine mobiil id mobiilid id kaart

22/07 2015

1.0.1

1.0.1.0 http://bitweb.ee/

BitWeb extension for Estonian ID-Card and Mobile ID authentication and signing.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Rain Ramm
by Priit Rand
by TÔnis Tobre

authentication signing id card id-card mobile-id mobile id autentimine allkirjastamine mobiil id mobiilid id kaart

20/10 2014

1.0.0

1.0.0.0 http://bitweb.ee/

BitWeb extension for Estonian ID-Card and Mobile ID authentication and signing.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Rain Ramm
by Priit Rand
by TÔnis Tobre

authentication signing id card id-card mobile-id mobile id autentimine allkirjastamine mobiil id mobiilid id kaart