2017 © Pedro Peláez
 

library idp-id-broker-php-client

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

image

silinternational/idp-id-broker-php-client

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  • Wednesday, July 18, 2018
  • by fillup
  • Repository
  • 4 Watchers
  • 0 Stars
  • 1,426 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 26 Versions
  • 5 % Grown

The README.md

idp-id-broker-php-client

PHP client to interact with our IdP ID Broker's API., (*1)

This client is built on top of Guzzle, the PHP HTTP Client. Guzzle has a simple way to create API clients by describing the API in a Swagger-like format without the need to implement every method yourself. So adding support for more APIs is relatively simple., (*2)

Install

Installation is simple with Composer:, (*3)

$ composer require silinternational/idp-id-broker-php-client

Usage

Example:, (*4)

<?php

use Sil\Idp\IdBroker\Client\IdBrokerClient;

$idBrokerClient = new IdBrokerClient(
    'https://api.example.com/', // The base URI for the API.
    'DummyAccessToken', // Your HTTP header authorization bearer token.
    [
        'http_client_options' => [
            'timeout' => 10, // An (optional) custom HTTP timeout, in seconds.
        ],
    ]
);

$users = $idBrokerClient->listUsers();

User Information

Information about a user returned by this client (such as by getUser(...)) can include the following fields:, (*5)

  • employee_id (string)
  • first_name (string)
  • last_name (string)
  • display_name (string)
  • username (string)
  • email (string)
  • active (string: 'yes' or 'no')
  • locked (string: 'yes' or 'no')

Tests

To run the unit tests for this, run make test., (*6)

Guzzle Service Client Notes

The Versions

18/07 2018

dev-develop

dev-develop

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

18/07 2018

dev-feature/improve-mfa-verify-tests

dev-feature/improve-mfa-verify-tests

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

18/07 2018

dev-feature/test-sending-null-values

dev-feature/test-sending-null-values

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

17/07 2018

dev-master

9999999-dev

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

17/07 2018

2.5.0

2.5.0.0

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

06/12 2017

2.4.0

2.4.0.0

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

21/11 2017

2.3.0

2.3.0.0

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

14/11 2017

2.2.1

2.2.1.0

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

09/11 2017

2.2.0

2.2.0.0

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

23/10 2017

2.1.2

2.1.2.0

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

23/10 2017

dev-feature/2sv

dev-feature/2sv

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

17/10 2017

2.1.1

2.1.1.0

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

06/10 2017

2.1.0

2.1.0.0

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

18/08 2017

2.0.0

2.0.0.0

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

16/06 2017

1.1.0

1.1.0.0

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

15/05 2017

1.0.0

1.0.0.0

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

11/05 2017

0.4.3

0.4.3.0

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

27/04 2017

0.4.2

0.4.2.0

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

27/04 2017

0.4.1

0.4.1.0

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

25/04 2017

0.4.0

0.4.0.0

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

25/04 2017

0.3.0

0.3.0.0

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

29/03 2017

dev-feature/document-user-info-fields

dev-feature/document-user-info-fields

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

29/03 2017

dev-feature/handle-status-codes-internally

dev-feature/handle-status-codes-internally

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

14/03 2017

0.2.1

0.2.1.0

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

02/03 2017

0.2.0

0.2.0.0

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker

01/03 2017

0.1.0

0.1.0.0

PHP client to interact with our IdP ID Broker's API: https://github.com/silinternational/idp-id-broker

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Henderson

api idp php client id broker