2017 © Pedro Peláez
 

library tb-auth-php

A library that helps integrating your PHP software with Tela Botanica's SSO

image

telabotanica/tb-auth-php

A library that helps integrating your PHP software with Tela Botanica's SSO

  • Thursday, May 31, 2018
  • by Tela Botanica
  • Repository
  • 4 Watchers
  • 0 Stars
  • 51 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 9 Versions
  • 16 % Grown

The README.md

tb-auth-php

A library that helps integrating your PHP webservices with Tela Botanica's SSO, (*1)

install

composer install telabotanica/tb-auth-php

usage

$config = array(
    "annuaireURL" => "https://www.tela-botanica.org/uri-of-sso-service",
    "admins" => array(
        "john@example.org",
        "mary@othersite.org"
    ),
    "adminRoles" => array(
        "tb_my-application_admin"
    )
);
$auth = new AuthTB($config);
$userData = $auth->getUser();

config parameters

mandatory

  • annuaireURL : URL of Tela Botanica SSO service

optional

  • ignoreSSLIssues : if true, curl will be lazy on SSL host verification, and prevent errors with old versions of libssl
  • headerName : expected header to read the token from (defaults to "Authorization")
  • admins : a list of email addresses of people who will be considered as "admins", ie isAdmin() will return true
  • adminRoles : a list of roles whose members will be considered as "admins", ie isAdmin() will return true
  • authorizedIPs : a list of IP addresses for the which hasAuthorizedIP() will return true

The Versions

31/05 2018

dev-master

9999999-dev https://github.com/telabotanica/tb-auth-php

A library that helps integrating your PHP software with Tela Botanica's SSO

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by Mathias Chouet

sso telabotanica tela-botanica tela botanica

31/05 2018

0.1.10

0.1.10.0 https://github.com/telabotanica/tb-auth-php

A library that helps integrating your PHP software with Tela Botanica's SSO

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by Mathias Chouet

sso telabotanica tela-botanica tela botanica

17/08 2017

0.1.9

0.1.9.0 https://github.com/telabotanica/tb-auth-php

A library that helps integrating your PHP software with Tela Botanica's SSO

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by Mathias Chouet

sso telabotanica tela-botanica tela botanica

22/05 2017

0.1.8

0.1.8.0 https://github.com/telabotanica/tb-auth-php

A library that helps integrating your PHP software with Tela Botanica's SSO

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by Mathias Chouet

sso telabotanica tela-botanica tela botanica

27/01 2017

0.1.7

0.1.7.0 https://github.com/telabotanica/tb-auth-php

A library that helps integrating your PHP software with Tela Botanica's SSO

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by Mathias Chouet

sso telabotanica tela-botanica tela botanica

28/12 2016

0.1.6

0.1.6.0 https://github.com/telabotanica/tb-auth-php

A library that helps integrating your PHP software with Tela Botanica's SSO

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by Mathias Chouet

sso telabotanica tela-botanica tela botanica

21/11 2016

0.1.5

0.1.5.0 https://github.com/telabotanica/tb-auth-php

A library that helps integrating your PHP software with Tela Botanica's SSO

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by Mathias Chouet

sso telabotanica tela-botanica tela botanica

09/03 2016

0.1.1a

0.1.1.0-alpha https://github.com/telabotanica/tb-auth-php

A library that helps integrating your PHP software with Tela Botanica's SSO

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by Mathias Chouet

sso telabotanica tela-botanica tela botanica

08/03 2016

0.1a

0.1.0.0-alpha https://github.com/telabotanica/tb-auth-php

A library that helps integrating your PHP software with Tela Botanica's SSO

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by Mathias Chouet

sso telabotanica tela-botanica tela botanica